[pkg-go] gbp: how to import upstream tarball without tag?

Dmitry Smirnov onlyjob at debian.org
Wed Sep 2 09:39:42 UTC 2015


Thank you for reply, Martín.

On Wednesday 02 September 2015 11:22:46 Martín Ferrari wrote:
> On 02/09/15 10:54, Dmitry Smirnov wrote:
> > Could you please advise how can I import upstream tarball from remote
> > repo if upstream do not tag their releases? Recently you did it somehow
> > for "golang- gogoprotobuf" so I hope you could share the secret
> > knowledge with me. :)
> If upstream does not tag their releases, you will need to find the
> commit manually and tag it (if you want to keep git history in sync).

Sorry, I'm not quite sure how exactly can I do that... You mean I should 
configure a remote (git remote add github https://github.com/repo/repo) then

	git fetch github
	git rebase github/master

then what? Merge to "upstream" branch and tag there manually?


> Otherwise you can just use gbp import-orig and ignore upstream's git
> history, but I prefer the other approach when possible.

I couldn't care less about upstream history and actually for the sake of 
importing mock-up tarball I want to entirely ignore upstream history.

But how can I do "gbp import-orig" without tarball?

Sorry, I'm still very confused...

-- 
Cheers,
 Dmitry Smirnov.

---

A creative man is motivated by the desire to achieve, not by the desire
to beat others.
        -- Ayn Rand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20150902/c5fc66a8/attachment.sig>


More information about the Pkg-go-maintainers mailing list