Bug#828978: RFS: install-mimic/0.2.0-1 (ITP)

2016-11-17 Thread Peter Pentchev
On Wed, Jun 29, 2016 at 05:12:24PM +0300, Peter Pentchev wrote:
> Package: sponsorship-requests
> Severity: wishlist
> 
> Dear mentors,
> 
> I am looking for a sponsor for my new package "install-mimic".
> It's a tool that I've found useful time and again when installing
> an updated version of a file and not wanting to bother with all
> the owner, group, and mode parameters to install(1).
[snip]
> 
> install-mimic - overwrite files and preserve their ownership
[snip]
> 
> Alternatively, one can download the package with dget using this command:
> 
>   dget -x 
> https://mentors.debian.net/debian/pool/main/i/install-mimic/install-mimic_0.2.0-1.dsc

I've uploaded a new version to the same mentors.d.n URL with minor
package updates.

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net r...@freebsd.org p...@storpool.com
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13


signature.asc
Description: PGP signature


Bug#828978: RFS: install-mimic/0.2.0-1 (ITP)

2016-11-13 Thread Sean Whitton
control: tag -1 -moreinfo

Hello Peter,

On Tue, Nov 08, 2016 at 08:39:46PM +0200, Peter Pentchev wrote:
> Oof, and here I was thinking I'd answered those... two months ago?
> Sorry :(

Well, stretch hasn't been frozen yet, so no need for an apology :)

> > 1. This package has a perl and a C version of the program, and you
> > install the C one.  Have you considered installing both and using
> > the alternatives system to permit the user to choose?
> 
> I don't think that there would be any real purpose to that; if there is
> a compiled C version available, I don't see why anyone would want/need
> the other one.

I think you're right.

> > 2. Your autopkgtest test suite appears to test the perl version?
> > Not sure -- would be best to add comments to the debian/test/control
> > file.
> 
> Not really; as Jakub Wilk pointed out, the autopkgtest suite uses
> the upstream source's test suite for testing whatever is installed as
> /usr/bin/install-mimic.  The fact that the test suite itself uses
> Perl's Test Anything Protocol and prove(1) as the TAP handler is
> kind of besides the point.

Right, okay.

> > 3. If users need to overwrite files installed by Debian packages,
> > they should use dpkg-divert and/or dpkg-statoverride.  Perhaps it
> > should be stated clearly in the package description that
> > install-mimic should be used in combination with those tools.
> 
> Hmm, actually the whole point of install-mimic is to avoid having to
> even know what dpkg-statoverride is :)  Okay, fine, the whole point of
> install-mimic is to avoid hanving to know what install(1)'s arguments
> are and what stat(1)/stat(2) does, but you get the idea :)
> 
> Nah, you're right, I might add a documentation section about various
> tools in various OS/distributions.  However, the main use that I have
> for install-mimic is either for configuration files or for files
> installed by third-party packages... and, yeah, you're right that
> the examples given in the manual page do not really reflect that.
> I'll work on it in a future release.

Personally, I wouldn't want to upload install-mimic to Debian until
these documentation changes come through.  It's perfectly fine to give
users the choice of using install-mimic, but they should know how it
relates to the standard Debian tools.

-- 
Sean Whitton


signature.asc
Description: PGP signature


Bug#828978: RFS: install-mimic/0.2.0-1 (ITP)

2016-11-08 Thread Peter Pentchev
On Sat, Aug 27, 2016 at 10:48:24AM -0700, Sean Whitton wrote:
> control: tag -1 +moreinfo
> 
> Hello Peter,
> 
> Here's a few comments and questions on your package (hopefully get the
> ball rolling on sponsorship).

Oof, and here I was thinking I'd answered those... two months ago?
Sorry :(

> 1. This package has a perl and a C version of the program, and you
> install the C one.  Have you considered installing both and using the
> alternatives system to permit the user to choose?

I don't think that there would be any real purpose to that; if there is
a compiled C version available, I don't see why anyone would want/need
the other one.

> 2. Your autopkgtest test suite appears to test the perl version?  Not
> sure -- would be best to add comments to the debian/test/control file.

Not really; as Jakub Wilk pointed out, the autopkgtest suite uses
the upstream source's test suite for testing whatever is installed as
/usr/bin/install-mimic.  The fact that the test suite itself uses
Perl's Test Anything Protocol and prove(1) as the TAP handler is
kind of besides the point.

> 3. If users need to overwrite files installed by Debian packages, they
> should use dpkg-divert and/or dpkg-statoverride.  Perhaps it should be
> stated clearly in the package description that install-mimic should be
> used in combination with those tools.

Hmm, actually the whole point of install-mimic is to avoid having to
even know what dpkg-statoverride is :)  Okay, fine, the whole point of
install-mimic is to avoid hanving to know what install(1)'s arguments
are and what stat(1)/stat(2) does, but you get the idea :)

Nah, you're right, I might add a documentation section about various
tools in various OS/distributions.  However, the main use that I have
for install-mimic is either for configuration files or for files
installed by third-party packages... and, yeah, you're right that
the examples given in the manual page do not really reflect that.
I'll work on it in a future release.

Thanks for trying to get the ball rolling! :)

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net r...@freebsd.org p...@storpool.com
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13


signature.asc
Description: PGP signature


Bug#828978: RFS: install-mimic/0.2.0-1 (ITP)

2016-08-27 Thread Sean Whitton
Hello,

On Sat, Aug 27, 2016 at 08:41:55PM +0200, Jakub Wilk wrote:
> > 2. Your autopkgtest test suite appears to test the perl version?
> 
> Hopefully not, because it's supposed to test the install packaged, and as
> you noticed, there's no Perl version there...

It appears to test the installed C version against the perl test suite.

-- 
Sean Whitton


signature.asc
Description: PGP signature


Bug#828978: RFS: install-mimic/0.2.0-1 (ITP)

2016-08-27 Thread Jakub Wilk

[I don't intend to sponsor this package. Sorry!]

* Sean Whitton , 2016-08-27, 10:48:
1. This package has a perl and a C version of the program, and you 
install the C one.  Have you considered installing both and using the 
alternatives system to permit the user to choose?


Both implementation have identical functionality AFAICS, so I don't see 
the point of installing them both. How would the user decide which one 
they want?



2. Your autopkgtest test suite appears to test the perl version?


Hopefully not, because it's supposed to test the install packaged, and 
as you noticed, there's no Perl version there...


--
Jakub Wilk



Bug#828978: RFS: install-mimic/0.2.0-1 (ITP)

2016-08-27 Thread Sean Whitton
control: tag -1 +moreinfo

Hello Peter,

Here's a few comments and questions on your package (hopefully get the
ball rolling on sponsorship).

1. This package has a perl and a C version of the program, and you
install the C one.  Have you considered installing both and using the
alternatives system to permit the user to choose?

2. Your autopkgtest test suite appears to test the perl version?  Not
sure -- would be best to add comments to the debian/test/control file.

3. If users need to overwrite files installed by Debian packages, they
should use dpkg-divert and/or dpkg-statoverride.  Perhaps it should be
stated clearly in the package description that install-mimic should be
used in combination with those tools.

-- 
Sean Whitton


signature.asc
Description: PGP signature


Bug#828978: RFS: install-mimic/0.2.0-1 (ITP)

2016-08-15 Thread Peter Pentchev
On Wed, Jun 29, 2016 at 05:12:24PM +0300, Peter Pentchev wrote:
> Package: sponsorship-requests
> Severity: wishlist
> 
> Dear mentors,
> 
> I am looking for a sponsor for my new package "install-mimic".
> It's a tool that I've found useful time and again when installing
> an updated version of a file and not wanting to bother with all
> the owner, group, and mode parameters to install(1).

Mmm, anyone? :)

> * Package name: install-mimic
>   Version : 0.2.0-1
>   Upstream Author : Peter Pentchev 
> * URL : https://devel.ringlet.net/misc/install-mimic/
> * License : BSD-2-clause
>   Language: C
>   Section : sysutils
>   ITP : https://bugs.debian.org/828913
> 
> It builds a single binary package that has been built using sbuild and
> tested with Lintian, cme, and autopkgtest:
> 
> install-mimic - overwrite files and preserve their ownership
> 
> To access further information about this package, please visit the following 
> URL:
> 
>   https://mentors.debian.net/package/install-mimic
> 
> Alternatively, one can download the package with dget using this command:
> 
>   dget -x 
> https://mentors.debian.net/debian/pool/main/i/install-mimic/install-mimic_0.2.0-1.dsc
> 
> More information about install-mimic can be obtained from
> https://devel.ringlet.net/misc/install-mimic/

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net r...@freebsd.org p...@storpool.com
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13


signature.asc
Description: PGP signature


Bug#828978: RFS: install-mimic/0.2.0-1 (ITP)

2016-06-29 Thread Peter Pentchev
Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for my new package "install-mimic".
It's a tool that I've found useful time and again when installing
an updated version of a file and not wanting to bother with all
the owner, group, and mode parameters to install(1).

* Package name: install-mimic
  Version : 0.2.0-1
  Upstream Author : Peter Pentchev 
* URL : https://devel.ringlet.net/misc/install-mimic/
* License : BSD-2-clause
  Language: C
  Section : sysutils
  ITP : https://bugs.debian.org/828913

It builds a single binary package that has been built using sbuild and
tested with Lintian, cme, and autopkgtest:

install-mimic - overwrite files and preserve their ownership

To access further information about this package, please visit the following 
URL:

  https://mentors.debian.net/package/install-mimic

Alternatively, one can download the package with dget using this command:

  dget -x 
https://mentors.debian.net/debian/pool/main/i/install-mimic/install-mimic_0.2.0-1.dsc

More information about install-mimic can be obtained from
https://devel.ringlet.net/misc/install-mimic/

G'luck,
Peter

-- System Information:
Debian Release: stretch/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)