@fribbledom the way the flags work is kinda weird to me, is that a standard go thing? it wants a single dash before a long option and seems to have no short options at all
the examples in the readme all use double dashes, which does work and is much more intuitive, but doesn't seem to be what the program expects
does that make sense
@fribbledom huh. weird decision on the package designers' part
the actual functionality is real nice though, i especially like combining duf --json with jq
That's really not the case. If you're following the guides step-by-step, compiling software is typically a lot easier than using it.
Usually all you have to do is copy & paste a few lines of shell commands.
Really understanding the build process and what's going on in the background... that's a different subject, obviously.
@faizalr @fribbledom not too deep of a rabbit-hole to go down in that case (at least in theory). https://www.tecmint.com/install-yay-aur-helper-in-arch-linux-and-manjaro/
However, try following the linuxconfig post I linked, and see if that gets you anywhere?
On Manjaro? Let’s take a look online! I have no clue. Ooh, there’s a GUI thing to enable AUR stuff? Nice. Have a look here. Any interesting errors you experience? I have no clue but will try to figure it out. https://linuxconfig.org/how-to-install-a-package-from-aur-on-manjaro-linux
My experience was simply as such: [tedster@injector ~]$ yay -S duf :: There are 3 providers available for duf: :: Repository AUR 1) duf 2) duf-bin 3) duf-git Enter a number (default=1): 3 :: Checking for conflicts... :: Checking for inner conflicts... [Aur:1] duf-git-r60.dac0c7d-1
That's the correct output then. You can manually specify the Version and CommitSHA if you insist on giving it a proper version number.
See the .goreleaser.yml file for how you can pass these values to go build.
@fribbledom aahh! That explains.
Duf is my absolute first introduction to golang. Haven't even looked at the code yet. :)
No worries, happy to help out!
You can try this, for example:
go build -ldflags '-X main.Version=v0.4.0 -X main.CommitSHA=123456'
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!