[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags.
From: |
Christopher Baines |
Subject: |
[bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags. |
Date: |
Tue, 23 Jan 2018 20:34:23 +0000 |
User-agent: |
mu4e 0.9.18; emacs 25.3.1 |
Leo Famulari <address@hidden> writes:
> On Tue, Jan 23, 2018 at 07:51:06PM +0000, Christopher Baines wrote:
>> Leo Famulari <address@hidden> writes:
>> > On Mon, Jan 22, 2018 at 09:08:23PM +0000, Christopher Baines wrote:
>> >> * gnu/packages/golang.scm (go-github.com-jessevdk-go-flags): New variable.
>> >
>> >> + (add-after 'unpack 'rename-archive
>> >> + (lambda _
>> >> + (rename-file
>> >> + ,(string-append "src/github.com/jessevdk/go-flags-"
>> >> version)
>> >> + "src/github.com/jessevdk/go-flags")
>> >> + #t)))))
>> >
>> > Should the go-build-system try to handle this automatically?
>>
>> I believe this might be connected with what is in the source
>> tarball. Without this stage, the go-flags directory is called
>> go-flags-1.3.0, and this causes the build to fail [2].
>
> Oh right, Go expects you to use Git checkouts instead of release
> tarballs. I bet it works if you do that. That kind of tarball is
> automatically created by GitHub per tag, and can't be disabled.
>
>> I'm not sure about the wider context, but it would be good to handle
>> this automatically.
>
> So, I think the build system doesn't need to handle this case.
Ok, would it be more appropriate to use a git checkout, rather than a
tar archive for these packages then?
signature.asc
Description: PGP signature
- [bug#30214] [PATCH 02/10] gnu: Add go-github.com-howeyc-gopass., (continued)
[bug#30214] [PATCH 04/10] gnu: Add go-gopkg.in-check.v1., Christopher Baines, 2018/01/22
[bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags., Christopher Baines, 2018/01/22
- [bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags., Leo Famulari, 2018/01/22
- [bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags., Leo Famulari, 2018/01/23
- [bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags.,
Christopher Baines <=
- [bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags., Leo Famulari, 2018/01/23
- [bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags., Christopher Baines, 2018/01/27
[bug#30214] [PATCH 06/10] gnu: Add go-gopkg.in-mgo.v2., Christopher Baines, 2018/01/22
[bug#30214] [PATCH 08/10] gnu: Add go-github.com-mattn-go-runewidth., Christopher Baines, 2018/01/22
[bug#30214] [PATCH 07/10] gnu: Add go-gopkg.in-tomb.v2., Christopher Baines, 2018/01/22
[bug#30214] [PATCH 10/10] gnu: Add mongo-tools., Christopher Baines, 2018/01/22
[bug#30214] [PATCH 05/10] gnu: Add daemontools., Christopher Baines, 2018/01/22