Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news.etla.org!aioe.org!bofh.it!news.nic.it!robomod From: Thomas Goirand Newsgroups: linux.debian.maint.python Subject: Re: Ask for files created for gpb buildpackages Date: Thu, 30 Aug 2018 09:00:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Aug 30 06:55:27 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5 Organization: Debian User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/16290 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/03fffdc1-0b0f-072a-085a-382bfa24151c@debian.org Approved: robomod@news.nic.it Lines: 37 Sender: robomod@news.nic.it X-Original-Date: Thu, 30 Aug 2018 08:54:40 +0200 X-Original-Message-ID: <03fffdc1-0b0f-072a-085a-382bfa24151c@debian.org> X-Original-References: Xref: csiph.com linux.debian.maint.python:10868 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)