Jörg Thalheim
875e112a8f
fix git commit arguments
2021-02-06 12:04:22 +01:00
Jörg Thalheim
3b5c5e088f
use environment variables to set git identity
2021-02-06 11:51:28 +01:00
Jörg Thalheim
bfbeb67ff1
harcode git author in all commands
...
This makes it easier to locally test the commands without affecting ~/.gitconfig
2021-02-06 11:31:32 +01:00
Erik Oosting
20d4e9bd91
Switch from choosing the master branch to choosing the default branch
...
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-01-13 11:42:54 +01:00
Jörg Thalheim
239a90d5a6
use lower case variables
2021-01-13 08:28:41 +01:00
Erik Oosting
023c82475c
Replace url_contains function with the 'in' operator
...
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-01-12 11:07:01 +01:00
Erik Oosting
888312333b
forgot to add branch names
2021-01-12 10:52:26 +01:00
Erik Oosting
157d196244
separated attribute logic into it's own function
2021-01-12 10:49:16 +01:00
Erik Oosting
b02737f186
forgot a trailing slash as well
2021-01-12 01:00:56 +01:00
Erik Oosting
684a44f66f
forgot black reformatting again
2021-01-12 00:59:11 +01:00
Erik Oosting
d082944dab
Tried to fix a bunch of missing attr paths
...
I'm not sure if this is genuinely the case, but fro the CI logs it seems
to me that nur-combined does not actually get used when evaluating
repositories, which was an assumption that I previously had. The current
addition tries it's best to resolve the issue of default.nix not
refering to a local path, but to a derivation in the nix store.
Currently, only gitlab and github links are supported, as smaller git
hosts do not get special treatment from nixpkgs, and thus their
derivation name is not "source"
2021-01-12 00:55:00 +01:00
Erik Oosting
0493dbe793
added URL to the list of arguments
...
There might be an issue in CI where the nur-combined directory does not
get cloned. To remedy this, we pass the url of a repos.json element to
the indexing function, with as goal resolving the "pkgs" prefix, as it
seemed to come up quite often. There are some other prefixes that I
haven't figured out yet, but at least this is a start
2021-01-12 00:17:16 +01:00
Erik Oosting
830d222641
python black reformat
2021-01-11 23:41:08 +01:00
Erik Oosting
e28963ae61
fixed some edge case that broke nur search
2021-01-11 23:33:44 +01:00
Erik Oosting
38cfeb3fbd
added the attributes improvement back again
2021-01-11 23:20:26 +01:00
Jörg Thalheim
7444fb8d4a
Revert "Merge pull request #309 from crazazy/master"
...
This reverts commit 1624a8756d , reversing
changes made to 6a07a28a78 .
2021-01-01 19:12:13 +01:00
Erik Oosting
a505cbec1f
added trailing comma
...
make sure black stops complaining
2020-12-31 17:33:34 +01:00
Erik Oosting
bbe526ee01
removed debugging statement
2020-12-31 17:25:34 +01:00
Erik Oosting
82527e8398
removed weird comment i made
2020-12-31 17:24:34 +01:00
Erik Oosting
591879299c
Merge branch 'master' of GitHub:crazazy/NUR
2020-12-31 17:19:15 +01:00
Erik Oosting
1ca26c0822
Revert "Update local branch ( #1 )" ( #2 )
...
This reverts commit e1e51f0d17 .
2020-12-31 17:12:46 +01:00
Erik Oosting
e1e51f0d17
Update local branch ( #1 )
...
Update local to the current version
2020-12-31 17:10:49 +01:00
Jörg Thalheim
68958857bb
add github usernames for contacting
2020-12-02 09:07:21 +01:00
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