adisbladis
86ee592eb2
Move internal packages to internal subdirectory
...
So they can't be imported from external repositories.
I'm not giving any stability guarantees on anything except the CLI.
2022-06-14 17:10:32 +08:00
adisbladis
52125f6072
Use cobra for command line parsing
2022-06-13 23:15:35 +08:00
adisbladis
e1d46e6973
Reintroduce the max workers flag
...
It turns out that this is actually useful to limit the number of open files.
Fixes https://github.com/tweag/gomod2nix/issues/50 .
2022-05-31 02:07:27 +08:00
adisbladis
ecb0d11088
generate: Set correct working directory for go mod download
2022-05-28 22:56:52 +08:00
adisbladis
6273e2cefb
Remove max workers argument
...
Now that we're not spawning subprocesses like crazy it's far less
relevant to limit concurrency.
2022-05-28 22:56:52 +08:00
adisbladis
1d2041bfc6
Restructure internal package names
2022-05-28 22:56:52 +08:00
adisbladis
4ffc0dfd48
Drop support for buildGoPackage format
...
It was buggy at best and will never really work out because of semantic differences, mainly around nested package handling.
We're better off focusing on a single format which can be well supported.
2022-05-26 19:07:06 +08:00
adisbladis
25d7fc13aa
Add comprehensive logging
2020-10-29 13:26:16 +01:00
adisbladis
51402965c7
Add flags to CLI
2020-10-29 13:26:16 +01:00
adisbladis
23847ecd85
Implement reading from previous files as a cache mechanism
2020-10-29 13:26:16 +01:00
adisbladis
85684cb652
Write output file
2020-10-29 13:26:16 +01:00
adisbladis
c2cd1e1fff
Add native output format
2020-10-29 13:26:16 +01:00
adisbladis
bdf43e8d31
Add support for old deps.nix as an output format
2020-10-29 13:26:15 +01:00
adisbladis
678a0b17c4
Create a proper package structure
2020-10-29 13:26:15 +01:00
adisbladis
3423ff0bcb
Most basic functionality works
2020-10-29 13:26:15 +01:00
adisbladis
74d937f555
Basic parsing/fetching working
2020-10-29 13:26:15 +01:00