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
outline: 0.68.1 -> 0.69.2 #232235
outline: 0.68.1 -> 0.69.2 #232235
Conversation
Result of 1 package blacklisted:
1 package built:
|
We are unfortunately too close the release for this PR, also, it should add release notes and instructions for the automatic migrations that can cause problems to the database. |
Apparently, automatic migrations don't need any instructions (they are automatic), and a warning on 0.69.0 release points towards rolling |
Yes, but the thing about stabilization is that automatic migrations are usually not automatic in their failure modes. :) (we had the situation with multiple other Node.js software such as Hedgedocs — deleting all data at migration time).
Which our users will not really see because As said, this PR is too close to the release window, breaking changes were restricted since a while (according to the release schedule calendar), and maybe Outline does not use 0.x versioning like this, but this is a major version bump technically. Feel free to convince me it has to be merged before we will branch-off (in 5 days) or convince to backport it after release. |
I've added a very basic but much needed nixosTest for outline. The first version of this PR was broken at runtime, which I only noticed in production (much fun was had). The issue was that outline was trying to open After fixing this another problem appeared Sequelize was complaining that the sql dialect wasn't specified. This resulted from the generated I've manually verified that #217025 doesn't appear again. |
That's a bit unfortunate the nixos test in |
Actually building and redistributing it surely falls under a fair use by the license terms, but we don't really have distinction between «unfree as in nvidia drivers» and «unfree as don't sell it» Should probably make a nice talking point for nixpkgs committee |
While it would be nice, it would create a certain legal risk and we do not really want to have a DMCA on the nixpkgs repository someday. Except if you get some explicit exception, I don't think it's really feasible. We have a |
This seems likely fine – how is the license presented to users of NixOS? |
I'm sorry, no expert in licenses, but we strive to make it right:
"make non-production use of the Licensed Work", but that's exactly what is about the NixOS module for Outline, aren't we? We can certainly redistribute the binaries, but I don't know about who is responsible for the "make non-production use of", NixOS modules are production-grade deployment recipes for anything… |
Well, all of the work performed on Hydra is not in violation of the license, and users are having to agree to the terms. We really cannot ensure their compliance to them though. |
Agreed. Neither can we when downloaded straight from GitHub, just a matter of enforcement as we find the occasional infringement. The non-free warning should suffice. |
@xanderio can you rebase this, so nixos.tests would run?) |
Hm, apparently we can't build test machines with redistributable flag only :/ time for another PR) |
For some reason we're using nodejs 16, which has been marked insecure by #229910. I've pushed another commit that should fix this issue. |
Once CI passes, let's get it. |
CI has passed 🎉 |
Nice, thank you! |
Description of changes
Changelog: https://github.com/outline/outline/releases
Based on #228101 and update to latest version.
As database migrations are now run automatically on application startup, the corresponding functionally was removed from the
preStart
unit config.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)