unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] remove debian-build/ and its children when cleaning after debian package
@ 2018-02-04 20:42 Daniel Kahn Gillmor
  2018-02-05  0:34 ` David Bremner
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Kahn Gillmor @ 2018-02-04 20:42 UTC (permalink / raw)
  To: Notmuch Mail

---
 debian/clean | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 debian/clean

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 00000000..c5797567
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+debian-build/
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] remove debian-build/ and its children when cleaning after debian package
  2018-02-04 20:42 [PATCH] remove debian-build/ and its children when cleaning after debian package Daniel Kahn Gillmor
@ 2018-02-05  0:34 ` David Bremner
  2018-02-05  1:09   ` Daniel Kahn Gillmor
  0 siblings, 1 reply; 4+ messages in thread
From: David Bremner @ 2018-02-05  0:34 UTC (permalink / raw)
  To: Daniel Kahn Gillmor, Notmuch Mail

Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> ---
>  debian/clean | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 100644 debian/clean
>
> diff --git a/debian/clean b/debian/clean
> new file mode 100644
> index 00000000..c5797567
> --- /dev/null
> +++ b/debian/clean
> @@ -0,0 +1 @@
> +debian-build/
> -- 

That seems to be something specific to git-buildpackage. The
gbp-buildpackage man page claims that the default is to remove that
directory after building. Perhaps someone more familiar with
git-buildpackage can figure out why that's not happening.

d

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] remove debian-build/ and its children when cleaning after debian package
  2018-02-05  0:34 ` David Bremner
@ 2018-02-05  1:09   ` Daniel Kahn Gillmor
  2018-02-05 12:21     ` David Bremner
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Kahn Gillmor @ 2018-02-05  1:09 UTC (permalink / raw)
  To: David Bremner, Notmuch Mail

[-- Attachment #1: Type: text/plain, Size: 1342 bytes --]

On Sun 2018-02-04 20:34:32 -0400, David Bremner wrote:
> Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:
>
>> ---
>>  debian/clean | 1 +
>>  1 file changed, 1 insertion(+)
>>  create mode 100644 debian/clean
>>
>> diff --git a/debian/clean b/debian/clean
>> new file mode 100644
>> index 00000000..c5797567
>> --- /dev/null
>> +++ b/debian/clean
>> @@ -0,0 +1 @@
>> +debian-build/
>> -- 
>
> That seems to be something specific to git-buildpackage. The
> gbp-buildpackage man page claims that the default is to remove that
> directory after building. Perhaps someone more familiar with
> git-buildpackage can figure out why that's not happening.

agreed, it is specific to git-buildpackage because of the following two
lines in debian/gbp.conf:

    # Directory for performing the build
    export-dir = ./debian-build

if gbp removed the directory after building, though, there would be no
artifacts left to review, sign or upload.  so that doesn't make sense
either.

those lines have been there since 2608bfe95 (in 2010) when
debian/gbp.conf was created.  maybe the right thing is just to remove
them, so that gbp buildpackage will default to whatever the user's
default build location is?  (usually ../, iiuc).

Any objections to removing the export-dir directive from gbp.conf?

        --dkg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] remove debian-build/ and its children when cleaning after debian package
  2018-02-05  1:09   ` Daniel Kahn Gillmor
@ 2018-02-05 12:21     ` David Bremner
  0 siblings, 0 replies; 4+ messages in thread
From: David Bremner @ 2018-02-05 12:21 UTC (permalink / raw)
  To: Daniel Kahn Gillmor, Notmuch Mail

Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> On Sun 2018-02-04 20:34:32 -0400, David Bremner wrote:
>
> agreed, it is specific to git-buildpackage because of the following two
> lines in debian/gbp.conf:
>
>     # Directory for performing the build
>     export-dir = ./debian-build
>
> if gbp removed the directory after building, though, there would be no
> artifacts left to review, sign or upload.  so that doesn't make sense
> either.
>

> Any objections to removing the export-dir directive from gbp.conf?

Not from this non-gbp-user.

d

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-05 12:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-04 20:42 [PATCH] remove debian-build/ and its children when cleaning after debian package Daniel Kahn Gillmor
2018-02-05  0:34 ` David Bremner
2018-02-05  1:09   ` Daniel Kahn Gillmor
2018-02-05 12:21     ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).