pin-package

Pin package versions in Plone buildout versions.cfg files and update changelogs.

5|1|Updated Feb 26, 2021
One-click install
npx skills add https://github.com/IMIO/buildout.smartweb --skill pin-package
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pin-package
Source: https://github.com/IMIO/buildout.smartweb/tree/main/.claude/skills/pin-package
Command: npx skills add https://github.com/IMIO/buildout.smartweb --skill pin-package

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the tedious, error-prone manual work of pinning package versions, updating project changelogs, and committing changes in Plone buildout repositories, saving developers significant time during routine dependency management tasks.

Core Features & Use Cases

  • Automated Version Pinning: Updates the versions.cfg file with new package versions, adding entries in correct alphabetical order if they do not already exist.
  • Changelog Integration: Fetches upstream changelog entries from the package's GitHub repository and inserts them into the project's CHANGES.rst file under the unreleased section.
  • Use Case: When updating a core Smartweb package like imio.smartweb.core to a new patch version, this Skill handles all file edits and git commits automatically, eliminating manual copy-pasting and formatting work.

Quick Start

Use the pin-package skill to update the version of imio.smartweb.core to 1.4.34 and add its latest changelog entries to the project's CHANGES.rst file.

Frequently Asked Questions about pin-package

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update package versions in a Plone buildout versions.cfg file?

To update package versions in a Plone buildout, this Skill automates editing the versions.cfg file by adding new package versions in correct alphabetical order. It eliminates manual editing errors during routine dependency management tasks.

Can I automatically fetch upstream changelog entries from GitHub into my project's CHANGES.rst?

Yes, you can automatically fetch upstream changelog entries from a package's public GitHub repository. The Skill inserts these entries into your project's CHANGES.rst file under the unreleased section, removing manual copy-pasting work.

What files do I need to provide for automated Plone dependency pinning?

For automated Plone dependency pinning, you need access to the project's versions.cfg, CHANGES.rst, and sources.cfg files. Public GitHub access is also required to fetch the upstream changelog data for integration.

Does this automated changelog updater work with Smartweb and similar Plone projects?

Yes, this dependency management workflow is designed for Smartweb and similar Plone projects. When updating core packages like imio.smartweb.core, it handles all file edits and git commits automatically within the buildout repository.

What is the best way to pin new package versions and auto-update changelogs without manual formatting work?

The best way to pin package versions and auto-update changelogs is using an automated Skill that handles versions.cfg updates, extracts GitHub changelog data into CHANGES.rst, and commits the changes. This removes tedious manual copy-pasting and formatting work.

Does the Skill automatically commit buildout version and changelog changes to git?

Yes, the Skill handles git commits automatically after updating package versions in versions.cfg and inserting upstream changelog entries into CHANGES.rst. This streamlines the entire dependency update workflow without requiring manual commit steps.