Repository navigation
Conversation
0fb0cdc to
d7cd0bc
Compare
|
Fixed merge conflicts |
|
Fixed merge conflicts, again. |
@Ramblurr apologies for long delays between activity, $LIFE has been very busy and my github activity has diminished as a result. I have also temporarily stopped being a sysadmin for myself, so haven't kept up with ocis dev either. Until I am back to using the package on daily basis it would be wise to take my name off maintainers list. That being said, the changes LGTM, approved. |
89e8a7e to
d5142cd
Compare
|
Fixed merge conflicts. |
|
@wegank I have yet again fixed the merge conflicts. Could you please remove the label? This PR has been languishing for well over a month and I would like to get it merged as no one can upgrade their owncloud without it. |
dotlambda
left a comment
There was a problem hiding this comment.
It seems to me like the different derivativions share most of their code. Can we make them call a generic builder instead to deduplicate that?
d346247 to
cbec32b
Compare
|
@dotlambda thanks again for your attention. I have implemented your suggestion! See the updated commits. However the nixpkgs-vet tool complains that What's the proper way forward here.. Should package.nix permanently alias a specific version? Alias the latest with a warning? Or is there another established by-name pattern for exposing only the explicitly versioned attributes? Should we move the pkg out of pkgs/by_name entirely? |
cbec32b to
3f8351f
Compare
Yes you can move the generic code out of |
https://github.com/owncloud/ocis/releases/tag/v7.0.1 https://github.com/owncloud/ocis/releases/tag/v7.1.4 https://github.com/owncloud/ocis/releases/tag/v7.2.0 https://github.com/owncloud/ocis/releases/tag/v7.3.2 https://github.com/owncloud/ocis/releases/tag/v8.0.6 https://github.com/owncloud/ocis/releases/tag/v8.1.0
Preserve the 5.0 default for existing systems and provide every production upgrade step through 8.1 for new NixOS 26.11 installations. Remove bhankas from the module maintainers at their request in the PR discussion. https://doc.owncloud.com/ocis/next/migration/upgrading-ocis.html
3f8351f to
cd573fb
Compare
Alrighty, done. |
|
closing and reopening the PR to trigger the CI again. The https://github.com/NixOS/nixpkgs/actions/runs/31121231572/job/92683186095?pr=409138 job failed because github is flaky. |
|
|
I have decided not to pursue oCIS in nixpkgs any further and am retracting this PR. |
Edit 2026-07:
This PR has been languishing too long, it's over a year old.
I rebuilt this PR on current master and expanded it to cover the complete upstream production upgrade sequence:
5.0 → 7.0 → 7.1 → 7.2 → 7.3 → 8.0 → 8.1Existing systems will stay on
ocis_5-bin, while new NixOS 26.11 systems default toocis_81-bin.Original PR:
This is a follow up to #394598
TL;DR: (full explanation is in the "Maintainer information" in the nixos documentation)
Upgrading ocis requires stepping through every stable major and minor version. You cannot skip one.
This PR adds ocis 7.0 and ocis 7.1. ocis 6.0 was skipped as it is not a stable version.
The nixos module is updated to choose the appropriate version based on the
system.stateVersion, and now provides some tools to help the user update their
instance.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)pinging fellow maintainers
@bhankas @danth
Add a 👍 reaction to pull requests you find important.