[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: The initial push to salsa-project



Sure, will do.

Thanks for helping!
On Sun, Dec 16, 2018 at 4:08 PM Michael Stapelberg
<michael@stapelberg.ch> wrote:
>
> I have changed both repositories to have master as the default branch.
>
> Could you file a bug against gbp for making the push order deterministic please?
>
> On Sun, Dec 16, 2018 at 5:12 AM Tong Sun <suntong001@gmail.com> wrote:
>>
>> On Sat, Dec 15, 2018 at 10:42 PM Tong Sun wrote:
>>
>> > - the default branch is *pristine-tar* instead of master, at
>> > https://salsa.debian.org/go-team/packages/golang-github-danverbraganza-varcaser
>>
>> I `gbp push`ed another project and this time the *upstream* become the
>> default branch:
>> https://salsa.debian.org/go-team/packages/ffcvt
>>
>> Here is my push log:
>>
>> $ git branch -v
>> * master       b1ea70d - [+] Initial packaging, add proper debian/
>>   pristine-tar 8520fb2 pristine-tar data for ffcvt_1.3.1.orig.tar.xz
>>   upstream     d72bd51 New upstream version 1.3.1
>>
>> $ gbp push --verbose
>> gbp:debug: ['git', 'rev-parse', '--show-cdup']
>> gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
>> gbp:debug: ['git', 'rev-parse', '--git-dir']
>> gbp:debug: ['git', 'symbolic-ref', 'HEAD']
>> gbp:debug: ['git', 'show-ref', 'refs/heads/master']
>> gbp:debug: ['git', 'config', 'branch.master.remote']
>> gbp:debug: ['git', 'tag', '-l', 'debian/1.3.1-1']
>> gbp:debug: ['git', 'rev-parse', '--quiet', '--verify',
>> 'debian/1.3.1-1^{commit}']
>> gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'refs/heads/master']
>> gbp:debug: ['git', 'tag', '-l', '1.3.1']
>> gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', '1.3.1^{commit}']
>> gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'refs/heads/upstream']
>> gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/pristine-tar']
>> gbp:debug: ['git', 'log', '--pretty=format:%H', '--no-merges',
>> '--grep=pristine-tar .* ffcvt_1.3.1.orig.tar.*', 'pristine-tar', '--']
>> gbp:debug: Found pristine-tar commit at
>> '8520fb2a5b71e9f56c8cc39bae14e08f5db34401'
>> gbp:debug: ['git', 'rev-parse', '--quiet', '--verify',
>> '8520fb2a5b71e9f56c8cc39bae14e08f5db34401^{commit}']
>> gbp:debug: ['git', 'rev-parse', '--quiet', '--verify',
>> 'refs/heads/pristine-tar']
>> gbp:info: Pushing debian/1.3.1-1 to origin
>> gbp:debug: ['git', 'push', 'origin', 'tag', 'debian/1.3.1-1']
>> gbp:info: Pushing 1.3.1 to origin
>> gbp:debug: ['git', 'push', 'origin', 'tag', '1.3.1']
>> gbp:info: Pushing b1ea70d348a0ec0ef37d0d27f517eced544e69d8 to
>> origin:refs/heads/upstream
>> gbp:debug: ['git', 'push', 'origin',
>> 'b1ea70d348a0ec0ef37d0d27f517eced544e69d8:refs/heads/upstream']
>> gbp:info: Pushing refs/heads/pristine-tar to origin:refs/heads/pristine-tar
>> gbp:debug: ['git', 'push', 'origin',
>> 'refs/heads/pristine-tar:refs/heads/pristine-tar']
>> gbp:info: Pushing refs/heads/master to origin:refs/heads/master
>> gbp:debug: ['git', 'push', 'origin', 'refs/heads/master:refs/heads/master']
>>
>> Seems that gbp is pushing in arbitrary order.
>> Comments? Thx.
>>
>
>
> --
> Best regards,
> Michael


Reply to: