Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

funtoo-http: Add support to next release #689

Merged
merged 1 commit into from
Jan 20, 2023
Merged

Conversation

geaaru
Copy link
Contributor

@geaaru geaaru commented Jan 20, 2023

Funtoo at the moment has two major releases:

  • 1.4-prime
  • next

This PR permits adding support to both releases.

Attention: merge this PR with the other PR to lxc-ci repository incoming

@stgraber
Copy link
Member

Follow-up from my comment on the other branch. I think we need this to be backward compatible, so passing 1.4 as the release should be kept working.

@geaaru
Copy link
Contributor Author

geaaru commented Jan 20, 2023

Roger, fixing

Signed-off-by: Daniele Rondina <geaaru@gmail.com>
Comment on lines +35 to +39
// Keep release backward compatible to old implementation
// and to permit to have yet the funtoo/1.4 alias.
if s.definition.Image.Release == "1.4" {
s.definition.Image.Release = "1.4-release-std"
}
Copy link
Member

Choose a reason for hiding this comment

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

Do we expect 1.5 to also be 1.5-release-std? If so, should we make the logic append -release-std to anything that's not next instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At the moment there aren't plans for 1.5-release-std or other releases, just 1.4-release-std and next. Instead could be could to use it also for harvester releases that are high development trees often broken but that could be integrated eventually with this patch for cd/ci tasks.
So, I don't think that hardcoded a postfix is a great solution, IMHO.
Personally, I think that was wrong before to have statically the release-std string fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just to complete the previous comment... the harvester releases are there:
https://harvester.funtoo.org/
and in this case, it's needed to replace the URL too but I haven't tested yet if it could work.

@stgraber stgraber merged commit b436e16 into lxc:master Jan 20, 2023
@geaaru geaaru deleted the funtoo-next branch January 20, 2023 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants