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

Forgejo v9 #346873

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Forgejo v9 #346873

wants to merge 2 commits into from

Conversation

NyCodeGHG
Copy link
Member

@NyCodeGHG NyCodeGHG commented Oct 6, 2024

Things done

Upgrades forgejo to v9 pre-release.
Forgejo v9 releases on 16th October.
See https://codeberg.org/forgejo/forgejo/issues/5380
Release Notes: https://codeberg.org/forgejo/forgejo/milestone/7235

Also added myself as a maintainer :)


  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@@ -42,6 +42,8 @@
Users can use it by `services.displayManager.ly.enable` and config it by
`services.displayManager.ly.settings` to generate `/etc/ly/config.ini`

- `forgejo` has been upgraded to version 9.0, see the [release notes](https://codeberg.org/forgejo/forgejo/milestone/7235).
Copy link
Member

Choose a reason for hiding this comment

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

I lean towards moving that release note entry out of the "Highlights" section into the "Backward Incompatibilities" further down below where we already have two entries for Forgejo.
So all of them are side by side.

Well and jumping from v7 (forgejo in 24.05) to v9 are technically two major updates with breakages.

But let me know what you think -- open to discuss :)

We could also use that opportunity to mention forgejo-lts somewhere. Which is something we wanted to do a while ago but postponed so far.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree it's probably worth moving to the Backward Incompat section.

Maybe something like

services.foregejo.package now defaults to forgejo-lts, the Long Term Support version of Forgejo. The latest version can be selected by setting services.forejo.package = pkgs.forgejo, with the understanding that this package could have breaking changes during the life of a stable NixOS release.

Copy link
Member Author

Choose a reason for hiding this comment

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

@emilylange

I lean towards moving that release note entry out of the "Highlights" section into the "Backward Incompatibilities" further down below where we already have two entries for Forgejo.
So all of them are side by side.

sounds like a good idea.

Well and jumping from v7 (forgejo in 24.05) to v9 are technically two major updates with breakages.

Right, we should mention that as well.

@adamcstephens

with the understanding that this package could have breaking changes during the life of a stable NixOS release.

Wouldn't it be better to introduce e.g. forgejo_9, so it's a bit more explicit to upgrade? Not sure how to handle this after EOL, just a thought.

Copy link
Contributor

Choose a reason for hiding this comment

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

This was discussed in #331187 but there are only ever two releases of forgejo.

Copy link
Member Author

Choose a reason for hiding this comment

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

I mean if v10 releases, you probably don't want an upgrade without explicitly upgrading, while being on stable.
So my thought was to have forgejo_9, remove that once it's EOL and introduce forgejo_10 once it releases.

Copy link
Contributor

@adamcstephens adamcstephens Oct 14, 2024

Choose a reason for hiding this comment

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

If a user has changed from the default LTS version, I personally consider that explicit opting in.

Copy link
Contributor

Choose a reason for hiding this comment

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

If we want to revisit the naming decision again, let's do so in another PR.

Forgejo v9 is now licensed under GPL-3.0-or-later.
Release notes: https://codeberg.org/forgejo/forgejo/milestone/7235
@adamcstephens
Copy link
Contributor

This needs to be moved to the release version so we can get it in. There is no overlap of support with v8.

Copy link
Contributor

@jalil-salame jalil-salame left a comment

Choose a reason for hiding this comment

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

Forgejo v9 was released, the PR can be marked as ready now c:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants