Commit graph

62 commits

Author SHA1 Message Date
Jörg Thalheim
64839cd444
Revert "nur combine: also skip shamilton"
This reverts commit d9f7db4c38.
2020-08-13 21:53:17 +01:00
Jörg Thalheim
209e3811b7
Revert "nix/update: skip shamilton"
This reverts commit fcbe990ab7.
2020-08-13 21:53:07 +01:00
Jörg Thalheim
d9f7db4c38
nur combine: also skip shamilton 2020-08-13 15:52:36 +01:00
Jörg Thalheim
fcbe990ab7
nix/update: skip shamilton 2020-08-13 15:37:45 +01:00
Jörg Thalheim
8d8fce3b10
get rid of irc client library 2020-07-15 20:06:11 +01:00
Robert Helgesson
e0128b42cf
Add user agent header for fetch latest commit
For some reason GitLab (or CloudFlare) respond with 403 Forbidden for
requests made using urllib. By setting the user agent we can complete
the requests successfully.

See https://gitlab.com/gitlab-org/gitlab/-/issues/219669 for the
corresponding issue in the GitLab issue tracker.
2020-07-03 23:53:53 +02:00
Jörg Thalheim
00afe93d74
nur-update: fix black format 2020-06-11 06:22:49 +01:00
Jörg Thalheim
50aadf84be
fix log command 2020-06-07 10:34:12 +01:00
Jörg Thalheim
f91d63c653
update: log fatal errors better 2020-06-07 10:27:39 +01:00
Vincent Demeester
a5e7a9fefa
combine.py: handle symlinks when copying tree
By default `copy_tree` do not preserve symlinks and tries to resolve
them. If the symlinks is pointing to a non-existent target it will
fail.

This fixes that by copying symlinks as such, aka preserve_symlinks.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2020-05-22 12:52:02 +02:00
Jörg Thalheim
2d8183d8d0
fix removing repos 2020-05-15 17:33:48 +01:00
Jörg Thalheim
08f476af09
nur-index: fix indexing nur-combined
we want to switch to nur-combined in case repositories are not reachable
2020-04-02 12:51:26 +01:00
Jörg Thalheim
8a1473f99d
nur/index: reformat with black 2020-03-11 15:17:25 +00:00
Jörg Thalheim
68b79acfdd
nur/index: fix type 2020-03-11 15:14:16 +00:00
Jörg Thalheim
dadb1f481f
fix nur index subcommand 2020-03-11 12:00:34 +00:00
Jörg Thalheim
6b4b37af2d
re-add irc notifications 2020-01-11 08:52:28 +00:00
Jörg Thalheim
d574844d17
add timeout when downloading repositories 2019-12-10 11:28:03 +00:00
Jörg Thalheim
6faa57ee38
fix new mypy errors 2019-11-10 13:32:35 +00:00
Jörg Thalheim
e58c243b76
nur/prefetch.py: reformat with black 2019-03-06 12:58:51 +00:00
tilpner
222533f3c2
nur: Update python side of GitLab URL parsing 2019-03-06 12:44:38 +01:00
Jörg Thalheim
0561424301
remove irc integration for now
The irc python module is broken for ages in nixpkgs unstable.
2019-03-05 14:17:58 +00:00
Jörg Thalheim
8bfc27ab42
Workaround broken irc library 2019-01-20 11:04:08 +00:00
Will Dietz
37889531f3 nur/update: drop eval output instead of filling pipe
Since nothing reads the pipe, writes block indefinitely
once the pipe's buffer is full.
2019-01-02 14:02:39 -06:00
Jörg Thalheim
3595ba800c
cleaner eval error messages 2019-01-02 18:13:40 +01:00
Jörg Thalheim
ce61f02fc3
NUR: add timeout for repository evaluation 2019-01-02 17:52:24 +01:00
Jörg Thalheim
81189886c2
restricted-eval: allow static.rust-lang.org
this should fix the mozilla overlay
2018-11-06 09:32:28 +00:00
Jörg Thalheim
f7336522b6
irc_notify: disconnect after sending all messages 2018-10-20 23:35:55 +01:00
Jörg Thalheim
4d60e89f10
add irc notifications 2018-10-20 23:23:05 +01:00
Jörg Thalheim
94c4ace436 rework index command to run on nur-combined 2018-10-03 10:14:01 +01:00
Jörg Thalheim
fb3c4fc80a nur combine: delete old content before copying new 2018-08-17 00:19:20 +01:00
Jörg Thalheim
c92ed46110 rename channel to combined 2018-08-14 08:38:58 +02:00
Jörg Thalheim
8550c5b6f3 channel: also commit repos.json/repos.json.lock 2018-08-14 08:30:31 +02:00
Jörg Thalheim
8cbac92299 correct commit message on channel update 2018-08-14 08:30:13 +02:00
Jörg Thalheim
b132efe226 channel: also update repos.json 2018-08-13 17:56:47 +02:00
Jörg Thalheim
d2e3c33ba7 speedup travis by avoid nix-shell for scripts
At the moment many build-time dependencies are downloaded.
2018-08-13 10:23:22 +02:00
Jörg Thalheim
2992592d05 cli: check if subcommand was provided 2018-08-13 10:03:31 +02:00
Jörg Thalheim
97b6794ff1 implement channel lock files
fixes #46
2018-08-13 09:37:50 +02:00
Jörg Thalheim
81fca0e2cf fix persisting manifest 2018-08-11 16:27:57 +02:00
Jörg Thalheim
da82718a60 manifest: correct default values for empty lock file 2018-08-11 16:04:42 +02:00
Jörg Thalheim
93f7c23f2f add build-channel command 2018-08-11 14:18:35 +02:00
Jörg Thalheim
475851ada5 move scripts to nur subcommands 2018-08-10 15:43:27 +02:00
Jörg Thalheim
2290918707 ci: make travis output less verbose 2018-07-21 15:12:09 +01:00
Jörg Thalheim
36dd399d0d nur/update.py: fix build when repositories are not available 2018-07-21 15:04:48 +01:00
Silvan Mosberger
270aa18898
Update python script for new syntax 2018-07-20 04:36:21 +02:00
Jörg Thalheim
126df71d94 improve gitlab support 2018-07-16 11:06:08 -04:00
Jörg Thalheim
04d8a06b24 make scripts names more consistent 2018-07-15 13:48:51 -04:00
Jörg Thalheim
8f34edef9f fix strict evaluation on travis 2018-07-08 20:37:30 +01:00
Jörg Thalheim
42292140a4 repos.json: add trailing newline 2018-07-08 20:17:26 +01:00
Jörg Thalheim
58c8d39825 backport to python3.6 2018-07-08 20:13:01 +01:00
Jörg Thalheim
bd3c9d77f9
Merge branch 'master' into unstable-channel 2018-07-08 17:49:33 +01:00