Commit graph

23 commits

Author SHA1 Message Date
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
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
94c4ace436 rework index command to run on nur-combined 2018-10-03 10:14:01 +01:00
Jörg Thalheim
475851ada5 move scripts to nur subcommands 2018-08-10 15:43:27 +02:00