Skip to content

Add generator of backlog based on Distribution API contents#424

Merged
Quetzacoalt91 merged 7 commits into
PrestaShop:masterfrom
Quetzacoalt91:add-backlog-generation
Aug 1, 2025
Merged

Add generator of backlog based on Distribution API contents#424
Quetzacoalt91 merged 7 commits into
PrestaShop:masterfrom
Quetzacoalt91:add-backlog-generation

Conversation

@Quetzacoalt91

@Quetzacoalt91 Quetzacoalt91 commented Jul 14, 2025

Copy link
Copy Markdown
Member
Questions Answers
Description? Ease maintaining the versions.py files by relying on Distribution to get the new versions and get their related download URL.
  • There is a new action: backlog that refreshes the file versions.py. It loads all the stables versions from Dsitribution API, then merges them with the existing branches and the nightly options.
  • Every night, this repository will call Distribution API and will refresh versions.py with the command previously named.
  • The action generate still generates the Dockerfile, but will now rely on Distribution API to retrieve the download link
Type? new feature
BC breaks? Nope
Deprecations? No
Fixed ticket? /
Sponsor company /
How to test? See below

The generated pull-request looks like this: Quetzacoalt91#3.

How to test?

The PR can be tested with one new command that will get you the following output:

$ ./prestashop_docker.py backlog
Refreshing contents of versions.py
Step 1/3: Fetching PHP tags from Docker Hub API
Step 2/3: Fetching PrestaShop releases from Distribution API
Step 3/3: Building list
  • You may play with the versions.py to remove a stable version: Running the command will bring it back
  • You may play with the versions.py to remove a branch: Running the command won't bring it back

@Quetzacoalt91 Quetzacoalt91 requested a review from jolelievre July 14, 2025 16:23
@Quetzacoalt91 Quetzacoalt91 force-pushed the add-backlog-generation branch from 548e740 to df36a83 Compare July 15, 2025 10:29
@Quetzacoalt91 Quetzacoalt91 marked this pull request as ready for review July 15, 2025 13:07
@github-project-automation github-project-automation Bot moved this to Ready for review in PR Dashboard Jul 15, 2025
@ps-jarvis ps-jarvis moved this from Ready for review to To be tested in PR Dashboard Jul 15, 2025
@SiraDIOP SiraDIOP self-assigned this Jul 16, 2025
@SiraDIOP SiraDIOP requested review from boherm and nicosomb July 18, 2025 11:41

@SiraDIOP SiraDIOP left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qa by Dev

@Quetzacoalt91

Copy link
Copy Markdown
Member Author

The PR can be tested with one new command that will get you the following output:

$ ./prestashop_docker.py backlog
Refreshing contents of versions.py
Step 1/3: Fetching PHP tags from Docker Hub API
Step 2/3: Fetching PrestaShop releases from Distribution API
Step 3/3: Building list
  • You may play with the versions.py to remove a stable version: Running the command will bring it back
  • You may play with the versions.py to remove a branch: Running the command won't bring it back

@Quetzacoalt91 Quetzacoalt91 force-pushed the add-backlog-generation branch from 2113d1e to 3df904d Compare July 22, 2025 17:25
@Quetzacoalt91 Quetzacoalt91 marked this pull request as draft July 29, 2025 09:20
@Quetzacoalt91 Quetzacoalt91 force-pushed the add-backlog-generation branch 2 times, most recently from 792fa14 to 71a7286 Compare July 30, 2025 14:49
@Quetzacoalt91 Quetzacoalt91 marked this pull request as ready for review July 30, 2025 14:50
@Quetzacoalt91 Quetzacoalt91 force-pushed the add-backlog-generation branch from 71a7286 to 5531a27 Compare July 30, 2025 14:52
@Progi1984

Copy link
Copy Markdown
Member

⚠️ But the 9.0.0 is not the open source version : it's the Classic version.

How do you manage different versions of the Classic version : https://github.com/PrestaShopCorp/prestashop-classic/wiki/Classic-version-numbers ?

@Quetzacoalt91

Quetzacoalt91 commented Jul 30, 2025

Copy link
Copy Markdown
Member Author

⚠️ But the 9.0.0 is not the open source version : it's the Classic version.

How do you manage different versions of the Classic version : https://github.com/PrestaShopCorp/prestashop-classic/wiki/Classic-version-numbers ?

As @jolelievre did with the classic release 9.0.0-1.0.
Each of them will be available here as well, and the code has been adapted so we get a simpler tag that aims for the most recent release of a given major (+ eventually minor) version. At the time of writing, pulling prestashop/prestashop:9 would pull prestashop/prestashop:9.0.0-1.0-classic

@M0rgan01 M0rgan01 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💁‍♀️🙅‍♀️🙆‍♀️

@Quetzacoalt91

Copy link
Copy Markdown
Member Author

@SiraDIOP previously said this one can be QA reviewed by the dev team (#424 (review)), anyone in @PrestaShop/prestashop-core-developers can try it.

@ga-devfront ga-devfront left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

@Quetzacoalt91 Quetzacoalt91 merged commit 011955a into PrestaShop:master Aug 1, 2025
2 checks passed
@github-project-automation github-project-automation Bot moved this from To be tested to Merged in PR Dashboard Aug 1, 2025
@Quetzacoalt91 Quetzacoalt91 deleted the add-backlog-generation branch August 1, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

7 participants