Commit graph

443 commits

Author SHA1 Message Date
talyz 12ff4b79e4
discourse: update.py: Remove native platforms in plugin lock files..
...and add ruby.
2021-08-17 18:21:27 +02:00
talyz 04e6b03fa9
discourse.mkDiscoursePlugin: Handle repos with gems directories
Some plugin repos already have a `gems` directory. This lets the
packager choose whether it should be kept and the nix packaged ruby
gems should be copied into it or if it should be removed in favor of
our ruby gems.
2021-08-17 18:21:21 +02:00
talyz f8096460bd
discourse.plugins: Make the updater able to package plugins
Let the update.py script handle the initial, repetitive task of
packaging new plugins. With this in place, the plugin only needs to be
added to the list in `update-plugins` and most of the work will be
done automatically when the script is run. Metadata still needs to be
filled in manually and some packages may of course require additional
work/patching.
2021-08-17 18:21:15 +02:00
talyz 4197b6dd14
discourse.plugins.discourse-github: Update 2021-08-17 18:21:10 +02:00
talyz 443b318ee9
discourse: Change the path to the auto generated plugin assets
Change the path to the auto generated plugin assets, which defaults to
the plugin's directory and isn't writable at the time of asset
generation.
2021-08-17 18:21:03 +02:00
talyz 6fd5a40cca
discourse.tests: Test the appropriate discourse package
Perform the tests on the package that the `tests` attribute is a child
of, i.e. if `discourseAllPlugins.tests` is built, the tests will run
with the `discourseAllPlugins` package, not the `discourse` package as
previously.
2021-08-17 18:20:55 +02:00
talyz bb14315d51
discourse: Remove leftover link to unused plugins directory 2021-08-17 18:17:56 +02:00
talyz 6f26527358
discourse.plugins.discourse-data-explorer: Update 2021-08-17 18:17:50 +02:00
talyz 92b758266e
discourse.plugins.discourse-solved: Update 2021-08-17 18:17:45 +02:00
talyz 5d94e3bfc9
discourse.plugins.discourse-canned-replies: Update 2021-08-17 18:17:39 +02:00
talyz d1a63bf19c
discourse.plugins.discourse-calendar: Update 2021-08-17 18:17:34 +02:00
talyz c97ae4ad8e
discourse: 2.7.5 -> 2.7.7 2021-08-17 18:17:27 +02:00
Robert Hensing a201246bac treewide: runCommandNoCC -> runCommand in generated code
This has been synonymous for ~5y.

Note that many of these runCommand bindings are unused, but that's
ok for generated code.
2021-08-15 17:36:41 +02:00
Robert Hensing fbafeb7ad5 treewide: runCommandNoCC -> runCommand
This has been synonymous for ~5y.
2021-08-15 17:36:41 +02:00
DavHau 411a5246c0 cryptpad: add meta longDescription and mainProgram 2021-08-12 01:00:23 +02:00
DavHau 827142a43c cryptpad: add comment about EOL dependencies 2021-08-11 11:04:39 +09:00
DavHau 04412d1f51 cryptpad: reformat with nixpkgs-fmt 2021-08-11 11:04:39 +09:00
DavHau df0f76b39f cryptpad: add test for nixos module 2021-08-11 11:04:39 +09:00
DavHau 6e59bc7969 cryptpad: use nodejs12 2021-08-11 11:04:39 +09:00
DavHau 27c813679e cryptpad: generate.sh: stop using outdated nixpkgs 2021-08-11 11:04:39 +09:00
DavHau 2220ca1e3c cryptpad: 3.20.1 -> 4.9.0 2021-08-11 11:04:39 +09:00
Artturi 322739445d
Merge pull request #124045 from r-ryantm/auto-update/galene
galene: 0.3.4 -> 0.3.5
2021-08-08 02:53:50 +03:00
Artturi a67cc6b063
Merge pull request #132665 from alyaeanyx/whitebophir
whitebophir: 1.9.1 -> 1.14.6
2021-08-07 04:42:24 +03:00
Ryan Mulligan 32e24e792c discourse/update.py: add missing plugins 2021-08-05 13:25:38 -07:00
alyaeanyx d52622de97 whitebophir: 1.9.1 -> 1.14.6 2021-08-04 16:15:52 +02:00
Ryan Mulligan 85d7eb75c9 discourseAllPlugins: init discourse-migratepassword 2021-08-02 15:21:53 -07:00
Ryan Mulligan 601db31c26 discourseAllPlugins: init discourse-data-explorer 2021-08-02 15:01:58 -07:00
Ryan Mulligan eb02dc0c4a discourseAllPlugins: init discourse-checklist 2021-08-02 14:54:52 -07:00
Ryan Mulligan 34b37ad59c
Merge pull request #131740 from ryantm/discourse-calendar
discourseAllPlugins: add discourse-calendar
2021-07-29 15:49:58 -07:00
Ryan Mulligan 858b0157e5 discourseAllPlugins: add discourse-calendar 2021-07-27 13:44:58 -07:00
Felix Buehler a56d117bdb servers: replace name with pname&version 2021-07-26 20:15:46 +02:00
Felix Buehler 4f62b05137 discourse.mkDiscoursePlugin: remove phases 2021-07-24 22:20:26 +02:00
Maximilian Bosch 65d60ae78b
Merge pull request #130062 from nh2/plausible-fix-shell-scripting-errors
nixos/plausible: Fix shell scripting errors, runtime fixes
2021-07-22 00:27:56 +02:00
Kim Lindberger 4dcf295417
Merge pull request #129464 from talyz/discourse-plugins
discourse: Updates and fixes
2021-07-15 14:50:28 +02:00
Niklas Hambüchen 6de23b983d nixos/plausible: Fix nixpkgs-introduced ecto_sql incompatibility.
Fixes runtime error during `migrate.sh`:

    ** (UndefinedFunctionError) function ClickhouseEcto.lock_for_migrations/3 is undefined or private

The function `lock_for_migrations` indeed does not exist in the `ClickhouseEcto`
module packaged so far.

Reason:

So far we use the patch `ecto_sql-fix.patch` doing

    -      {:ecto_sql, "~> 3.0"},
    +      {:ecto_sql, "~> 3.6"},

@scvalex found that the commit that makes the `plausible/clickhouse_ecto` fork
compatible with 3.6 is _newer_ than the commit pinned in the `.lock` file,
namely  `1969f14ecef - Update for ecto 3.6.1`:

    https://github.com/plausible/clickhouse_ecto/commit/1969f14ecef

That commit introduces the function that my error shows (`def lock_for_migrations`).

This means that the version that's in the lockfile (and pulled) was
incompatible with the version the nixpkgs patch forces.

This commit fixes it by patching the `.lock` file to have the version of
`plausible/clickhouse_ecto` that makes it compatible with `ecto_sql` 3.6.
2021-07-14 16:58:56 +00:00
talyz 60d78d7f1f
discourse: 2.7.4 -> 2.7.5 2021-07-14 13:18:23 +02:00
talyz 61f4429fbd
discourse: Use terser when building assets
Discourse prefers to use `terser` when building js assets, see
https://github.com/discourse/discourse/pull/12656. It still wants to
find `uglify-js` in order to not fall back to a ruby js compression
library, so let's keep it around for now. A fix for this has been
submitted upstream in
https://github.com/discourse/discourse/pull/13683.
2021-07-14 13:18:17 +02:00
talyz a2dbc3af1d
discourse: Remove architecture bound platforms from Gemfile.lock
Maybe bundix doesn't handle them properly? They cause runtime issues
and don't seem necessary when the binary gems are built from scratch
anyway.
2021-07-14 13:18:12 +02:00
talyz 3300282db3
discourse: Add update-plugins action to update.py 2021-07-14 13:17:55 +02:00
talyz d3bc5d5b7a
discourse.plugins: Update and add metadata 2021-07-14 13:17:49 +02:00
Sandro e85e671dee
Merge pull request #130001 from ymarkus/bookstack 2021-07-14 03:26:34 +02:00
Yannick Markus 6ac9cb369d
bookstack: 21.05 -> 21.05.3 2021-07-12 09:50:31 +02:00
Raphael Megzari 84eb0781aa
lemmy: init 0.11.2 (#129723)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-07-09 16:28:08 +02:00
Leo Maroni 6ed56b865f nixos/vikunja: add nixos test 2021-07-08 22:17:57 +02:00
Leo Maroni 0bef1bb91f vikunja-api: init at 0.17.1
vikunja-api: use mage in build (thanks to @jtojnar)
2021-07-08 22:17:57 +02:00
Leo Maroni 3338d28040 vikunja-frontend: init at 0.17.0 2021-07-08 22:17:57 +02:00
Robert Schütz 1ec5651913 treewide: use pythonPackages.python-dateutil instead of pythonPackages.dateutil 2021-07-03 13:45:57 +02:00
Luke Granger-Brown 272773e1cb
Merge pull request #127931 from talyz/discourse-plugins
discourse: Fix plugin support
2021-06-30 23:03:57 +01:00
Maciej Krüger 5b2824b9e2 matomo: 4.2.1 -> 4.3.1 2021-06-27 23:12:09 -07:00
markuskowa 4457a52cab
Merge pull request #124910 from r-ryantm/auto-update/mediawiki
mediawiki: 1.35.2 -> 1.36.0
2021-06-25 13:22:34 +02:00