Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10865 > unrolled thread

Ask for files created for gpb buildpackages

Started byeamanu15 <emmanuelarias30@gmail.com>
First post2018-08-30 04:20 +0200
Last post2018-08-30 09:00 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Ask for files created for gpb buildpackages eamanu15 <emmanuelarias30@gmail.com> - 2018-08-30 04:20 +0200
    Re: Ask for files created for gpb buildpackages Andrey Rahmatullin <wrar@debian.org> - 2018-08-30 07:10 +0200
    Re: Ask for files created for gpb buildpackages Thomas Goirand <zigo@debian.org> - 2018-08-30 09:00 +0200

#10865 — Ask for files created for gpb buildpackages

Fromeamanu15 <emmanuelarias30@gmail.com>
Date2018-08-30 04:20 +0200
SubjectAsk for files created for gpb buildpackages
Message-ID<wskIV-7be-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hello everybody,

Sorry if this question is solve on other mail.

When I build the package using gbp:

*gbp buildpackage --git-upstream-tag="v%(version)s" --git-ignore-new*

This create some other files/folder like this:
build/
debian/.debhelper/
debian/debhelper-build-stamp
debian/files
debian/python-*
debian/python3-*
*.egg-info/

This is correct? I can create a .gitignore file for them? or I have to push
this files/folder to salsa?

Thanks for your help
Regards!
-- 
Arias Emmanuel
http://eamanu.com
Github/Gitlab; @eamanu
Debian: @eamanu-guest

[toc] | [next] | [standalone]


#10867

FromAndrey Rahmatullin <wrar@debian.org>
Date2018-08-30 07:10 +0200
Message-ID<wsnns-li-3@gated-at.bofh.it>
In reply to#10865

[Multipart message — attachments visible in raw view] — view raw

On Wed, Aug 29, 2018 at 11:18:50PM -0300, eamanu15 wrote:
> When I build the package using gbp:
> 
> *gbp buildpackage --git-upstream-tag="v%(version)s" --git-ignore-new*
> 
> This create some other files/folder like this:
> build/
> debian/.debhelper/
> debian/debhelper-build-stamp
> debian/files
> debian/python-*
> debian/python3-*
> *.egg-info/
They are supposed to be removed by debian/rules clean. Also, don't build
in-tree, use sbuild/pbuilder or export-dir.

> I can create a .gitignore file for them? or I have to push
> this files/folder to salsa?
No.

-- 
WBR, wRAR

[toc] | [prev] | [next] | [standalone]


#10868

FromThomas Goirand <zigo@debian.org>
Date2018-08-30 09:00 +0200
Message-ID<wsp5U-17U-7@gated-at.bofh.it>
In reply to#10865
On 08/30/2018 04:18 AM, eamanu15 wrote:
> Hello everybody,
> 
> Sorry if this question is solve on other mail.
> 
> When I build the package using gbp:
> 
> /gbp buildpackage --git-upstream-tag="v%(version)s" --git-ignore-new/
> 
> This create some other files/folder like this:
> build/
> debian/.debhelper/
> debian/debhelper-build-stamp
> debian/files
> debian/python-*
> debian/python3-*
> *.egg-info/

For the build folder, you should "rm -rf" it in the clean target of your
rules file. For the *.egg-info folder, best is to add:

extend-diff-ignore = "^[^/]*[.]egg-info/"

in your debian/source/options file. The rest of the files are normally
cleaned automatically by dh_clean.

> I can create a .gitignore file for them?

Don't.

> or I have to push this files/folder to salsa?

Don't. Please write a correct clean target in your rules file instead.

Cheers,

Thomas Goirand (zigo)

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web