Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.devel > #91535
| From | Vincent Bernat <bernat@debian.org> |
|---|---|
| Newsgroups | linux.debian.devel |
| Subject | Re: Difficult Packaging Practices |
| Date | 2019-05-28 08:50 +0200 |
| Message-ID | <y2E5R-7C1-9@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <y2h9f-1QY-1@gated-at.bofh.it> <y2hLX-23y-1@gated-at.bofh.it> <y2yMN-4iM-1@gated-at.bofh.it> <y2Cnn-6ts-3@gated-at.bofh.it> <y2E5R-7C1-11@gated-at.bofh.it> |
| Organization | Debian |
[Multipart message — attachments visible in raw view] - view raw
❦ 28 mai 2019 06:30 +00, Niels Thykier <niels@thykier.net>:
> I.e. with the proper implementation of "make-it-work" (in the lack of a
> better name - maybe something "fetch-and-build"), the following should
> be possible
>
> """
> #!/usr/bin/make -f
>
> # DISTRIBUTION = $(shell sed -n "s/^VERSION_CODENAME=//p" /etc/os-release)
> export VERSION=1.5.16
> # PACKAGEVERSION = $(VERSION)-0~$(DISTRIBUTION)0
> export TARBALL = memcached-$(VERSION).tar.gz
> export URL = https://www.memcached.org/files/$(TARBALL)
>
> %:
> dh $@ --with make-it-work
>
> # override_dh_gencontrol:
> # dh_gencontrol -- -v$(PACKAGEVERSION)
> """
>
> This could inject a tool to run the wget + tar extraction (incl. the
> distro version sed'ing) after dh_testdir and before
> dh_update_autotools_config. From there, the dh's standard tools would
> "just work(tm)" until dh_gencontrol where we have to inject the full
> version (the commented lines works around that if re-enabled).
>
> @Vincent: Do you feel something like this would be helpful, useful and
> doable? My only reference in the memcached, so the above is tailored to
> the above.
That would be very useful as it would reduce the boilerplate but also
solve some of the problems of hijacking the clean target, notably the
fact it is executed twice by some tools (like pbuilder, once outside,
once inside). I didn't propose anything like that as I was thinking it
was very likely to be rejected as it is of no use for proper Debian
packages. While my Perl is a bit rusty, I can propose some "dh_fetch"
helper for this if there is no huge opposition against this approach.
> Would it help if we could remove the dependency on having a d/changelog
> (i.e. make it optional)? I have not fully checked if it is doable, but
> I can look into it if it makes sense and if someone wants to help me
> test this.
Yes, it would help too.
--
Use library functions.
- The Elements of Programming Style (Kernighan & Plauger)
Back to linux.debian.devel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Sam Hartman <leader@debian.org> - 2019-05-25 19:30 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Vincent Bernat <bernat@debian.org> - 2019-05-26 11:40 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Jonas Smedegaard <jonas@jones.dk> - 2019-05-26 12:10 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Vincent Bernat <bernat@debian.org> - 2019-05-26 19:30 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Andreas Tille <andreas@an3as.eu> - 2019-05-27 06:30 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Jonas Smedegaard <jonas@jones.dk> - 2019-05-27 08:50 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Andreas Tille <andreas@an3as.eu> - 2019-05-29 08:00 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2019-05-27 14:00 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Adrian Bunk <bunk@debian.org> - 2019-05-26 21:40 +0200
Difficult Packaging Practices Sam Hartman <hartmans@debian.org> - 2019-05-26 23:10 +0200
Re: Difficult Packaging Practices Jérémy Lal <kapouer@melix.org> - 2019-05-27 00:00 +0200
Re: Difficult Packaging Practices Russ Allbery <rra@debian.org> - 2019-05-27 01:30 +0200
Re: Difficult Packaging Practices Sam Hartman <hartmans@debian.org> - 2019-05-27 13:40 +0200
Re: Difficult Packaging Practices Ben Finney <bignose@debian.org> - 2019-05-27 08:20 +0200
Re: Difficult Packaging Practices Vincent Bernat <bernat@debian.org> - 2019-05-27 09:00 +0200
Re: Difficult Packaging Practices Paul Wise <pabs@debian.org> - 2019-05-28 03:10 +0200
Re: Difficult Packaging Practices Vincent Bernat <bernat@debian.org> - 2019-05-28 07:00 +0200
Re: Difficult Packaging Practices Vincent Bernat <bernat@debian.org> - 2019-05-28 08:50 +0200
RE:Difficult Packaging Practices PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2019-05-28 09:10 +0200
Re: Difficult Packaging Practices Vincent Bernat <bernat@debian.org> - 2019-05-28 09:40 +0200
Re: Difficult Packaging Practices (OT) Thomas Dettbarn <dettus@dettus.net> - 2019-05-28 09:50 +0200
Re: Difficult Packaging Practices (OT) Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2019-05-28 10:20 +0200
RE:Difficult Packaging Practices (OT) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2019-05-28 10:50 +0200
Simplified Debianization Process (was: Re: Difficult Packaging Practices (OT) Mo Zhou <lumin@debian.org> - 2019-05-28 11:10 +0200
Re: Difficult Packaging Practices Sam Hartman <hartmans@debian.org> - 2019-05-27 14:00 +0200
Why do we take so long to realise good ideas (Was: Difficult Packaging Practices) Andreas Tille <andreas@an3as.eu> - 2019-05-29 08:50 +0200
Re: Why do we take so long to realise good ideas (Was: Difficult Packaging Practices) Andrey Rahmatullin <wrar@debian.org> - 2019-05-29 09:00 +0200
Re: Why do we take so long to realise good ideas (Was: Difficult Packaging Practices) Raphael Hertzog <hertzog@debian.org> - 2019-05-29 10:40 +0200
Re: Why do we take so long to realise good ideas (Was: Difficult Packaging Practices) Ansgar <ansgar@debian.org> - 2019-05-29 10:50 +0200
Re: Why do we take so long to realise good ideas (Was: Difficult Packaging Practices) Raphael Hertzog <hertzog@debian.org> - 2019-05-29 11:10 +0200
paying people for Debian work (Re: Why do we take so long to realise good ideas (Was: Difficult Packaging Practices)) Holger Levsen <holger@layer-acht.org> - 2019-05-30 23:40 +0200
Re: paying people for Debian work (Re: Why do we take so long to realise good ideas (Was: Difficult Packaging Practices)) Paul Wise <pabs@debian.org> - 2019-06-03 03:30 +0200
Re: paying people for Debian work (Re: Why do we take so long to realise good ideas (Was: Difficult Packaging Practices)) Raphael Hertzog <hertzog@debian.org> - 2019-06-03 11:50 +0200
Re: paying people for Debian work (Re: Why do we take so long to realise good ideas (Was: Difficult Packaging Practices)) Joël Krähemann <jkraehemann@gmail.com> - 2019-06-06 20:50 +0200
Re: paying people for Debian work (Re: Why do we take so long to realise good ideas Sam Hartman <hartmans@debian.org> - 2019-06-03 17:00 +0200
Re: Why do we take so long to realise good ideas (Was: Difficult Packaging Practices) Helmut Grohne <helmut@subdivi.de> - 2019-05-31 07:20 +0200
Re: Why do we take so long to realise good ideas (Was: Difficult Packaging Practices) Jonas Smedegaard <jonas@jones.dk> - 2019-05-31 08:30 +0200
Re: Why do we take so long to realise good ideas (Was: Difficult Packaging Practices) Holger Levsen <holger@layer-acht.org> - 2019-05-31 17:40 +0200
Re: Why do we take so long to realise good ideas Mo Zhou <lumin@debian.org> - 2019-05-29 11:40 +0200
Realizing Good Ideas with Debian Money Sam Hartman <hartmans@debian.org> - 2019-05-29 13:50 +0200
Re: Realizing Good Ideas with Debian Money Adrian Bunk <bunk@debian.org> - 2019-05-31 22:40 +0200
Re: Realizing Good Ideas with Debian Money Luca Filipozzi <lfilipoz@debian.org> - 2019-05-31 23:10 +0200
Re: Realizing Good Ideas with Debian Money Luca Filipozzi <lfilipoz@debian.org> - 2019-06-01 01:00 +0200
Re: Realizing Good Ideas with Debian Money Adrian Bunk <bunk@debian.org> - 2019-06-01 01:00 +0200
Re: Realizing Good Ideas with Debian Money "G. Branden Robinson" <g.branden.robinson@gmail.com> - 2019-06-01 23:00 +0200
Re: Realizing Good Ideas with Debian Money Russ Allbery <rra@debian.org> - 2019-06-02 00:20 +0200
Re: Realizing Good Ideas with Debian Money Ben Hutchings <ben@decadent.org.uk> - 2019-06-02 15:50 +0200
Re: Why do we take so long to realise good ideas Paul Wise <pabs@debian.org> - 2019-05-30 03:40 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Philip Hands <phil@hands.com> - 2019-05-26 23:20 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Adrian Bunk <bunk@debian.org> - 2019-05-30 20:50 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Sam Hartman <hartmans@debian.org> - 2019-05-27 14:00 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Scott Leggett <scott@sl.id.au> - 2019-05-27 14:50 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Russ Allbery <rra@debian.org> - 2019-05-27 20:00 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Scott Kitterman <debian@kitterman.com> - 2019-05-27 07:10 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Sam Hartman <hartmans@debian.org> - 2019-05-27 14:00 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Scott Kitterman <debian@kitterman.com> - 2019-05-27 16:40 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Ian Jackson <ijackson@chiark.greenend.org.uk> - 2019-05-28 17:00 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Sam Hartman <hartmans@debian.org> - 2019-05-28 17:10 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Bill Allombert <ballombe@debian.org> - 2019-06-17 00:10 +0200
Re: Consensus Call: Do We Want to Require or Recommend DH; comments by 2019-06-16 Russ Allbery <rra@debian.org> - 2019-06-17 00:50 +0200
csiph-web