puppetlabs / puppet

Server automation framework and application
https://puppet.com/open-source/#osp
Apache License 2.0
7.32k stars 2.18k forks source link

https://forgeapi.puppet.com/private/versions/puppet-agent is outdated #9395

Open bastelfreak opened 2 weeks ago

bastelfreak commented 2 weeks ago

Describe the Bug

rspec-puppet-facts pull in https://forgeapi.puppet.com/private/versions/puppet-agent after each new puppet/facter release. The file is used within rspec-puppet unit tests to determine the correct facter version in relation to the specified puppet version (then the facter version is used to get the correct factset from facterdb). The latest 8.x entry is 8.3.1, latest 7.x is 7.27.0. Please update the file

Expected Behavior

A parseable overview of components in recent Puppet releases.

Steps to Reproduce

Environment

Additional Context

smortex commented 2 weeks ago

Oh! I wasn't aware of this API and I guess I could rely on it to make it easier for me to handle the FreeBSD packages (replacing this tedious manual state with another simpler one).

cthorn42 commented 2 weeks ago

For reference, https://github.com/puppetlabs/puppet-forge-api/blob/main/app/static/puppet_agent_components.json, looks to be the source of truth. That was being updated through 2022 by automation and stopped at some point. There was a manual update at one point in 2023 and nothing since then. I think we can for sure push up a manual update, but better yet would be figuring out what happened with the automation around this.

bastelfreak commented 2 weeks ago

@cthorn42 can you do the manual release and let me know when the updated file is available? I can afterwards make a new release for rspec-puppet-facts.

github-actions[bot] commented 2 weeks ago

Migrated issue to PUP-12052

cthorn42 commented 1 week ago

My commit that added the 8.7.0 release to that private file was merged last week but I'm not seeing a change in the https://forgeapi.puppet.com/private/versions/puppet-agent. I was hoping for a quick fix but that isn't the case, I will need to get some help from someone on the Forge to figure out what else needs done.