3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

53 commits

Author SHA1 Message Date
Daniel Frank 2496942c7a
nextcloud: 18.0.2 -> 18.0.3 2020-03-29 23:54:53 +02:00
Maximilian Bosch 702f645aa8
nixos/nextcloud: implement a safe upgrade-path between 19.09 and 20.03
It's impossible to move two major-versions forward when upgrading
Nextcloud. This is an issue when comming from 19.09 (using Nextcloud 16)
and trying to upgrade to 20.03 (using Nextcloud 18 by default).

This patch implements the measurements discussed in #82056 and #82353 to
improve the update process and to circumvent similar issues in the
future:

* `pkgs.nextcloud` has been removed in favor of versioned attributes
  (currently `pkgs.nextcloud17` and `pkgs.nextcloud18`). With that
  approach we can safely backport major-releases in the future to
  simplify those upgrade-paths and we can select one of the
  major-releases as default depending on the configuration (helpful to
  decide whether e.g. `pkgs.nextcloud17` or `pkgs.nextcloud18` should be
  used on 20.03 and `master` atm).

* If `system.stateVersion` is older than `20.03`, `nextcloud17` will be
  used (which is one major-release behind v16 from 19.09). When using a
  package older than the latest major-release available (currently v18),
  the evaluation will cause a warning which describes the issue and
  suggests next steps.

  To make those package-selections easier, a new option to define the
  package to be used for the service (namely
  `services.nextcloud.package`) was introduced.

* If `pkgs.nextcloud` exists (e.g. due to an overlay which was used to
  provide more recent Nextcloud versions on older NixOS-releases), an
  evaluation error will be thrown by default: this is to make sure that
  `services.nextcloud.package` doesn't use an older version by accident
  after checking the state-version. If `pkgs.nextcloud` is added
  manually, it needs to be declared explicitly in
  `services.nextcloud.package`.

* The `nixos/nextcloud`-documentation contains a
  "Maintainer information"-chapter  which describes how to roll out new
  Nextcloud releases and how to deal with old (and probably unsafe)
  versions.

Closes #82056
2020-03-25 22:07:29 +01:00
Daniel Frank 09dea9e30d Nextcloud: 18.0.1 -> 18.0.2 2020-03-13 19:44:50 +00:00
R. RyanTM 91250fe625 nextcloud: 18.0.0 -> 18.0.1 2020-02-20 11:27:23 +00:00
R. RyanTM e95752f272 nextcloud: 17.0.2 -> 18.0.0 2020-01-22 02:34:54 +00:00
Jan Hrnko b167c29620 nextcloud: 17.0.1 -> 17.0.2 2019-12-20 19:32:21 +01:00
ajs124 03fef7cff3 nextcloud: 17.0.0 -> 17.0.1 2019-11-25 08:54:52 -08:00
cw ad3f51f737 nextcloud: 16.0.5 -> 17.0.0 2019-10-04 06:18:42 +02:00
Victor SENE 70d08871da nexcloud: 16.0.4 -> 16.0.5 2019-09-30 22:09:25 +02:00
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
R. RyanTM 649a61ddf9 nextcloud: 16.0.3 -> 16.0.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/nextcloud/versions
2019-08-19 13:29:13 -07:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Andreas Wiese 9dc6e984b5 nextcloud: 16.0.2 -> 16.0.3 2019-07-15 22:45:09 +02:00
Andreas Wiese dc87d574ad nextcloud: 16.0.1 -> 16.0.2 2019-07-15 22:45:09 +02:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
R. RyanTM b187bef267 nextcloud: 15.0.8 -> 16.0.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/nextcloud/versions
2019-06-02 01:14:59 -07:00
Florian Klink 4bc40350ae nextcloud: 15.0.7 -> 15.0.8 2019-05-21 16:06:45 +09:00
Andreas Wiese e0bdb4d05e nextcloud: 15.0.6 -> 15.0.7 2019-04-24 22:45:03 +02:00
Will Dietz ee22cea1cc nextcloud: 15.0.5 -> 15.0.6
(tagged, not on nextcloud.com/changelog ?)
(admin panel bugged about the update, so should be good :))
2019-04-06 10:36:49 -05:00
Franz Pletz 3eda950518
nextcloud: 15.0.4 -> 15.0.5 2019-03-02 02:18:56 +01:00
R. RyanTM a45b2032ff nextcloud: 15.0.2 -> 15.0.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/nextcloud/versions
2019-02-15 23:11:22 -08:00
Florian Klink 58af931a57 nextcloud: 15.0.0 -> 15.0.2 2019-01-12 22:13:23 +01:00
Florian Klink 66060d3bb0 nextcloud: 14.0.4 -> 15.0.0 2018-12-16 11:16:57 +01:00
Simon Lackerbauer ee1613aea6
nextcloud: 14.0.3 -> 14.0.4 2018-12-05 18:13:08 +01:00
Leon Schuermann 6d3b54a1e9 nextcloud: 14.0.1 -> 14.0.3 2018-10-14 10:47:05 +00:00
Florian Klink 1fd6477b35 nextcloud: fix sendmail path discovery 2018-10-01 02:07:44 +09:30
Ruben Maher e5b3ea56e1 nextcloud: 13.0.6 -> 14.0.1
Co-authored-by: Robin Gloster <mail@glob.in>
2018-10-01 02:07:44 +09:30
R. RyanTM 836ce9d91e nextcloud: 13.0.5 -> 13.0.6 (#46236)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
nextcloud
2018-09-09 14:16:41 +02:00
ajs124 6b8a2a79cf nextcloud: 13.04 -> 13.05 2018-07-26 03:08:24 +02:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Augustin Borsu 1ba43328da nextcloud: 13.03 -> 13.04 (#41859) 2018-06-11 23:01:47 +02:00
R. RyanTM fff4f5ad95 nextcloud: 13.0.2 -> 13.0.3 (#41666)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/nextcloud/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 13.0.3 with grep in /nix/store/hbps5w1zb88icnpqdpix29yx24hcf3ww-nextcloud-13.0.3
- directory tree listing: https://gist.github.com/feec7566b2d989d0e2f4a1870b1bb899
- du listing: https://gist.github.com/52d6f78c92d6b0bbd7179d3ed6da3d75
2018-06-09 22:46:31 +02:00
R. RyanTM b45a5a1801 nextcloud: 13.0.1 -> 13.0.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/nextcloud/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 13.0.2 with grep in /nix/store/370na6b77ds8vj2qjxij4id8r5ihjpiq-nextcloud-13.0.2
- directory tree listing: https://gist.github.com/bb7d1d9b3be5379cba2c2852ec4b8e56
2018-04-30 12:43:38 -07:00
Ryan Mulligan a7046d5ecf nextcloud-news-updater: 10.0.0 -> 10.0.1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/58kz8y29n2habv056d7iz20484rq87mr-nextcloud-news-updater-10.0.1/bin/.nextcloud-news-updater-wrapped -h` got 0 exit code
- ran `/nix/store/58kz8y29n2habv056d7iz20484rq87mr-nextcloud-news-updater-10.0.1/bin/.nextcloud-news-updater-wrapped --help` got 0 exit code
- ran `/nix/store/58kz8y29n2habv056d7iz20484rq87mr-nextcloud-news-updater-10.0.1/bin/.nextcloud-news-updater-wrapped -v` and found version 10.0.1
- ran `/nix/store/58kz8y29n2habv056d7iz20484rq87mr-nextcloud-news-updater-10.0.1/bin/.nextcloud-news-updater-wrapped --version` and found version 10.0.1
- ran `/nix/store/58kz8y29n2habv056d7iz20484rq87mr-nextcloud-news-updater-10.0.1/bin/nextcloud-news-updater -h` got 0 exit code
- ran `/nix/store/58kz8y29n2habv056d7iz20484rq87mr-nextcloud-news-updater-10.0.1/bin/nextcloud-news-updater --help` got 0 exit code
- ran `/nix/store/58kz8y29n2habv056d7iz20484rq87mr-nextcloud-news-updater-10.0.1/bin/nextcloud-news-updater -v` and found version 10.0.1
- ran `/nix/store/58kz8y29n2habv056d7iz20484rq87mr-nextcloud-news-updater-10.0.1/bin/nextcloud-news-updater --version` and found version 10.0.1
- found 10.0.1 with grep in /nix/store/58kz8y29n2habv056d7iz20484rq87mr-nextcloud-news-updater-10.0.1
- directory tree listing: https://gist.github.com/ef3eb260a3fd46598a3b70c142c2ef2c
2018-03-22 16:44:30 +01:00
Jean-Philippe Braun ae3782b2fb nextcloud: 13.0.0 -> 13.0.1 2018-03-17 17:24:59 +01:00
Augustin Borsu 4fcb56d139 nextcloud: 12.0.5 -> 13.0.0 2018-02-20 23:53:03 +01:00
Augustin Borsu ab664977bb nextcloud: 12.0.4 -> 12.0.5 2018-02-05 21:31:04 +01:00
Augustin Borsu dd2242efcc nextcloud: 12.0.3 -> 12.0.4 2017-12-23 12:44:34 +01:00
Pascal Bach 1c38326528 nextcloud: 12.0.2 -> 12.0.3 2017-10-01 22:30:55 +02:00
schneefux 7770752956 nextcloud-news-updater: 9.0.2 -> 10.0.0 2017-08-27 11:50:30 +02:00
schneefux 48241bddba nextcloud: 12.0.0 -> 12.0.2 2017-08-27 11:50:29 +02:00
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Pascal Bach 46e2c1398f nextcloud: 11.0.2 -> 12.0.0 2017-06-11 16:14:21 +02:00
Franz Pletz 8afdae07b2
nextcloud: 11.0.1 -> 11.0.2 2017-03-19 18:44:47 +01:00
schneefux 8eb7c70da8
nextcloud: 11.0.0 -> 11.0.1 2017-01-21 16:56:35 +01:00
schneefux 888b27467e nextcloud: 10.0.2 -> 11.0.0 2016-12-14 23:01:32 +01:00
schneefux 915c93c69e
nextcloud: 10.0.1 -> 10.0.2 2016-12-11 13:05:47 +01:00
Bjørn Forsman 7c3dd3ca18 nextcloud: also install hidden files
.htaccess and .user.ini are missing. This fixes it.
2016-10-19 19:42:09 +02:00
Benno Fünfstück a090931cdb Merge pull request #19155 from schneefux/nextcloud-newsupdater
nextcloud-news-updater: init at 9.0.2
2016-10-02 21:22:33 +02:00
schneefux 64ccc21b4a
nextcloud: 10.0.0 -> 10.0.1 2016-10-02 12:38:28 +02:00