1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
Commit graph

2021 commits

Author SHA1 Message Date
Jan Tojnar 8dc5ff7dcf
nixos/displayManager: deprecate separate options for default wm/dm
The upstream session files display managers use have no concept of sessions being composed from
desktop manager and window manager. To be able to set upstream session files as default
session, we need a single option. Having two different ways to set default session would be confusing,
though, so we decided to deprecate the old method.

We also created separate script for each session, just like we already had a separate desktop
file for each one, and started using displayManager.sessionPackages mechanism to make the
session handling more uniform.
2019-12-15 04:16:20 +01:00
Tor Hedin Brønner d25365c3c1
nixos/displayManager: introduce defaultSession
There's two ways of providing graphical sessions now:
- `displayManager.session` via. `desktopManager.session` and
  `windowManager.session`
- `displayManager.sessionPackages`

`sessionPackages` doesn't make a distinction between desktop and window
managers. This makes selecting a session provided by a package using
`desktopManager.default` nonsensical.

We therefor introduce `displayManager.defaultSession` which can select a session
from either `displayManager.session` or `displayManager.sessionPackages`.

It will default to `desktopManager.default + windowManager.default` as before.
If the dm default is "none" it will select the first provided session from
`sessionPackages`.
2019-12-15 04:16:20 +01:00
Jan Tojnar 919297f369
nixosTests.xmonad: fix 2019-12-13 17:16:59 +01:00
WilliButz 6f0ec169fe
Merge pull request #75492 from Ma27/refactor-gitea-test
nixos/tests/gitea: test basic git workflow
2019-12-12 16:57:30 +01:00
Maximilian Bosch efd1d1a211
nixos/gitea: test creation and cloning of a repo via ssh 2019-12-12 12:13:17 +01:00
Florian Klink b5c5ed2939
Merge pull request #74066 from 7c6f434c/add-systemd-analyze-test
Add systemd analyze test
2019-12-11 19:04:39 +01:00
Florian Klink b5e53a7fae
Merge pull request #74761 from mmilata/containers-python-test
nixosTests.containers*: port rest to python
2019-12-10 20:37:03 +01:00
Florian Klink 8772359957 nixosTests.containers-portforward: add to all-tests.nix 2019-12-10 20:34:37 +01:00
Martin Milata 6ebf84a3d6 nixosTests.ipv6: fix waiting for address
wait_for_address sometimes returned tentative address.
2019-12-08 19:51:00 +01:00
Michael Raskin e365454066 nixos/tests: add systemd-analyze test 2019-12-08 19:02:20 +01:00
Martin Milata ead22d1415 nixosTests.ipv6: port to python 2019-12-08 18:28:03 +01:00
Martin Milata 6fbb76cf76 nixosTests.containers*: port rest to python 2019-12-08 18:16:01 +01:00
Bruno Bigras 9314dc43b3 gitolite: wrap gitolite-shell
git wasn't found when used with services.fcgiwrap
for http auth
2019-12-08 12:26:02 +01:00
Florian Klink 0c10431e4b
Merge pull request #75180 from flokli/nixos-test-port-pam-u2f
nixosTests.pam-u2f: port test to python
2019-12-07 23:57:14 +01:00
Florian Klink 6b1faaf684 nixosTests.pam-u2f: port test to python 2019-12-07 23:16:59 +01:00
Florian Klink b665c387bc
Merge pull request #74935 from x123/x123-munin-test-python
nixos/tests/munin: port to python
2019-12-07 23:03:15 +01:00
Jan Tojnar 36de08ebe1
Merge pull request #71442 from jtojnar/ibus-fixes
Fix/clean up various ibus-engines
2019-12-07 12:10:44 +01:00
Jan Tojnar f6afb29ee1
ibus: add installed tests 2019-12-07 00:58:30 +01:00
Jan Tojnar 973c2fcf3d
nixosTests.installed-tests: allow passing extra makeTest args
For example, extra meta tags.
2019-12-07 00:58:30 +01:00
Maximilian Bosch 8264d7ed4c
nixos/gitea: simplify test
This reduces the length of the gitea-test by creating a single
`makeGiteaTest` function which creates the configuration for a testcase
with a given database driver.
2019-12-06 18:59:37 +01:00
Florian Klink 04071c6a65
Merge pull request #74006 from nh2/nixos-tests-consul
nixosTests.consul: init
2019-12-06 10:21:56 +01:00
Jacek Galowicz 7e25be92b7 nixosTests.env: Port to Python 2019-12-06 08:21:34 +01:00
Jacek Galowicz 46fab2e289 nixosTests.ecryptfs: Port to Python 2019-12-06 08:21:33 +01:00
Jacek Galowicz 4a7ba2cdfe nixosTests.docker-tools-overlay: Port to Python 2019-12-06 08:21:33 +01:00
Jacek Galowicz 86a9d80b45 nixosTests.dhparams: Port to Python 2019-12-06 08:21:30 +01:00
Maximilian Bosch 8360a627fa nixos/consul: register test 2019-12-06 03:39:28 +01:00
Niklas Hambüchen dfa7042eaf nixosTests.consul: init 2019-12-06 03:39:28 +01:00
x123 2cda20c12e nixos/tests/munin: port to python 2019-12-06 01:05:04 +01:00
x123 07be580889 nixos/tests/timezone: port to python 2019-12-06 00:45:30 +01:00
Florian Klink ea9c3b9342
Merge pull request #74032 from ckauhaus/remove-networking.hostconf
Remove networking.hostConf option
2019-12-05 21:42:33 +01:00
Florian Klink 3140fa89c5
Merge pull request #73097 from andrew-d/andrew/gvisor-redux
gvisor: init at 2019-11-14
2019-12-05 01:28:43 +01:00
Marek Mahut 25f7bd7c4b
Merge pull request #74753 from mmilata/moinmoin-python-test
nixosTests.moinmoin: port to python
2019-12-05 00:13:41 +01:00
Jacek Galowicz 5d91b29e0d nixosTests.openldap: port test to python 2019-12-04 16:22:26 +01:00
Jacek Galowicz 15f105d41f nixosTests.ldap: port integration test to python 2019-12-04 16:22:13 +01:00
Florian Klink 746a888f86
Merge pull request #74898 from tfc/nixos-test-retry
nixos/test: Use retry() in all looping functions that need timeouts
2019-12-04 16:18:42 +01:00
Christian Kauhaus 8d36536c2e Rewrite test script
Thanks to @flokli and @tfc
2019-12-04 11:25:12 +01:00
Andrew Dunham c37902dfd1 nixosTests.gvisor: add test for gvisor and gvisor as a Docker runtime 2019-12-03 23:55:24 -08:00
Florian Klink b7c19e1b91
Merge pull request #74866 from x123/x123-test-tiddlywiki
nixos/tests/tiddlywiki: port to python
2019-12-04 01:05:00 +01:00
Florian Klink f7a232297a
Merge pull request #74938 from x123/x123-i3wm-test-to-python
nixos/tests/i3wm: port to python
2019-12-04 00:50:31 +01:00
Florian Klink b62c02ce04 nixosTests.gocd-agent: mark as broken 2019-12-04 00:35:07 +01:00
x123 b6d5e3844f nixos/tests/i3wm: port to python 2019-12-03 21:51:26 +01:00
x123 c0d5332ab3 remove duplicate test in tiddlywiki 2019-12-03 17:18:59 +01:00
Jacek Galowicz a16695578b nixos/pam-oath-login: Port test to python 2019-12-03 17:06:04 +01:00
x123 2ad9a627de nixos/tests/tiddlywiki: port to python 2019-12-03 00:20:01 +01:00
Florian Klink f8218178f7 nixosTests.gocd-server: port to python 2019-12-02 23:13:09 +01:00
Florian Klink 46daafa269 nixosTest.gocd-agent: port to python 2019-12-02 23:13:09 +01:00
x123 362e377154 nixos/tests/xrdp: port to python 2019-12-02 22:20:36 +01:00
Florian Klink fdb65314fc
Merge pull request #74759 from mmilata/openarena-python-test
nixosTests.openarena: port to python
2019-12-02 20:29:04 +01:00
Florian Klink 9144d84a60
Merge pull request #74762 from mmilata/mediawiki-python-test
nixosTests.mediawiki: port to python
2019-12-02 20:28:31 +01:00
Florian Klink 85a345327f
Merge pull request #74764 from mmilata/radicale-python-test
nixosTests.radicale: port to python
2019-12-02 20:27:51 +01:00