[pkg-go] Bug#840676: marked as done (golang-osext: Packaging cleanups and new upstream release)

2017-04-05 Thread Debian Bug Tracking System
Your message dated Wed, 5 Apr 2017 20:30:51 -0700
with message-id <20170405203051.0684f...@arctic.lustfield.net>
and subject line Cleaned Up
has caused the Debian Bug report #840676,
regarding golang-osext: Packaging cleanups and new upstream release
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
840676: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840676
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: wnpp
Severity: wishlist
Tags: patch

* Package name: golang-github-kardianos-osext
  Version : 0.0~git20160811.0.c2c54e5-1
  Upstream Author : Daniel Theophanes
* URL : https://github.com/kardianos/osext
* License : BSD-3-clause
  Programming Lang: Go
  Description : Extensions to the standard "os" package

 There is sometimes utility in finding the current executable file that is
 running. This can be used for upgrading the current executable or finding
 resources located relative to the executable file. Both working directory
 and the os.Args[0] value are arbitrary and cannot be relied on; os.Args[0]
 can be "faked".


This package is a dependency of golang-github-kardianos-service, which
is a dependency of latest telegraf upstream releases.

Attached a working and tested packaging. It only requires filling in
this ITP bug number in debian/changelog, changing the Maintainer field
and adding Vcs fields.

Thanks,
Guillem


golang-github-kardianos-osext_0.0~git20160811.0.c2c54e5-1.debian.tar.xz
Description: application/xz
--- End Message ---
--- Begin Message ---
I've checked and it seems this bug was fixed in previous uploads. I'm closing
this bug because these issues have been addressed.

-- 
Michael Lustfield--- End Message ---
___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

[pkg-go] Bug#840676:

2017-04-05 Thread Michael Lustfield
Control: owner 840676 !

I ended up creating duplicate packaging and merged my changes which
included a version bump. I didn't look, but remember at least some of
these modifications being present in the current packaging. Sometime
today, I'll take a look and see if any changes still need to be made.
If not, I'll go ahead and close this bug.

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers


Re: [pkg-go] Bug#840676: RFP: golang-github-kardianos-osext -- Extensions to the standard "os" package

2016-10-19 Thread Guillem Jover
Control: reassign -1 golang-github-kardianos-osext-dev
Control: retitle -1 golang-osext: Packaging cleanups and new upstream release
Control: found -1 0.0~git20151222.0.29ae4ff-1

On Thu, 2016-10-13 at 20:25:11 +, Potter, Tim (HPE Linux Support) wrote:
> On 14 Oct 2016, at 5:44 AM, Guillem Jover  wrote:
> > Package: wnpp
> > Severity: wishlist
> > Tags: patch
> > 
> > * Package name: golang-github-kardianos-osext
> >  Version : 0.0~git20160811.0.c2c54e5-1
> >  Upstream Author : Daniel Theophanes
> > * URL : https://github.com/kardianos/osext
> > * License : BSD-3-clause
> >  Programming Lang: Go
> >  Description : Extensions to the standard "os" package

> Hi Guillem.  This package is already in Debian under the source package name
> "golang-osext".  It's not the latest version though, so there is still some 
> work
> that can be done here.

Ah right, sorry, should have been looking for the binary package name
instead. Ok, then let's convert this into a bug against that package,
as cleanups and a request for a new upstream. :)

Attached the new diff.

(I've also renamed the Vcs field values, but those would need intervention
on alioth. :)

(Also, I noticed the choice of licensing for debian/* and while everyone
is obviously free to choose whatever they like, this kind of divergence
could create problematic siutation when adding local patches, as those
might not be acceptable to upstream for example.)

Thanks,
Guillem
diff -Naur golang-osext-0.0~git20151222.0.29ae4ff/debian/changelog golang-github-kardianos-osext/debian/changelog
--- golang-osext-0.0~git20151222.0.29ae4ff/debian/changelog	2016-04-30 17:19:42.0 +0200
+++ golang-github-kardianos-osext/debian/changelog	2016-10-14 13:13:32.373644305 +0200
@@ -1,3 +1,16 @@
+golang-github-kardianos-osext (0.0~git20160811.0.c2c54e5-1) UNRELEASED; urgency=medium
+
+  * New upstream version 0.0~git20160811.0.c2c54e5
+  * Use https URL in debian/copyright Format field.
+  * Add a Built-Using field.
+  * Remove unused shlibs:Depends substvar from Depends field.
+  * Remove redundant DH_GOPKG from debian/rules.
+  * Use _build as build directory.
+  * Rename source package name to match current Go packaging policy, as this
+should not require going via NEW.
+
+ -- Guillem Jover   Fri, 14 Oct 2016 13:07:09 +0200
+
 golang-osext (0.0~git20151222.0.29ae4ff-1) unstable; urgency=medium
 
   [ Tim Potter ]
diff -Naur golang-osext-0.0~git20151222.0.29ae4ff/debian/control golang-github-kardianos-osext/debian/control
--- golang-osext-0.0~git20151222.0.29ae4ff/debian/control	2016-04-30 17:08:51.0 +0200
+++ golang-github-kardianos-osext/debian/control	2016-10-14 13:12:59.197481432 +0200
@@ -1,4 +1,4 @@
-Source: golang-osext
+Source: golang-github-kardianos-osext
 Section: devel
 Priority: extra
 Maintainer: Debian Go Packaging Team 
@@ -6,13 +6,14 @@
 Build-Depends: debhelper (>= 9), dh-golang, golang-go
 Standards-Version: 3.9.8
 Homepage: https://github.com/kardianos/osext
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-osext.git
-Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-osext.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-kardianos-osext.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-github-kardianos-osext.git
 XS-Go-Import-Path: github.com/kardianos/osext
 
 Package: golang-github-kardianos-osext-dev
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}
+Built-Using: ${misc:Built-Using}
 Description: Extensions to the Go "os" package
  Go library implementing functions for discovering the current
  executable and folder to re-invoke the currently running program.
diff -Naur golang-osext-0.0~git20151222.0.29ae4ff/debian/copyright golang-github-kardianos-osext/debian/copyright
--- golang-osext-0.0~git20151222.0.29ae4ff/debian/copyright	2016-01-15 09:35:27.0 +0100
+++ golang-github-kardianos-osext/debian/copyright	2016-10-14 13:05:39.991237753 +0200
@@ -1,6 +1,6 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: osext
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Source: https://github.com/kardianos/osext
+Upstream-Name: osext
 
 Files: *
 Copyright: 2012 The Go Authors
diff -Naur golang-osext-0.0~git20151222.0.29ae4ff/debian/rules golang-github-kardianos-osext/debian/rules
--- golang-osext-0.0~git20151222.0.29ae4ff/debian/rules	2016-01-15 09:17:13.0 +0100
+++ golang-github-kardianos-osext/debian/rules	2016-10-14 13:08:43.956201246 +0200
@@ -1,6 +1,4 @@
 #!/usr/bin/make -f
 
-export DH_GOPKG := github.com/kardianos/osext
-
 %:
-	dh $@ --buildsystem=golang --with=golang
+	dh $@ --buildsystem=golang --with=golang --builddirectory=_build
___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman

[pkg-go] Bug#840676: RFP: golang-github-kardianos-osext -- Extensions to the standard "os" package

2016-10-13 Thread Guillem Jover
Package: wnpp
Severity: wishlist
Tags: patch

* Package name: golang-github-kardianos-osext
  Version : 0.0~git20160811.0.c2c54e5-1
  Upstream Author : Daniel Theophanes
* URL : https://github.com/kardianos/osext
* License : BSD-3-clause
  Programming Lang: Go
  Description : Extensions to the standard "os" package

 There is sometimes utility in finding the current executable file that is
 running. This can be used for upgrading the current executable or finding
 resources located relative to the executable file. Both working directory
 and the os.Args[0] value are arbitrary and cannot be relied on; os.Args[0]
 can be "faked".


This package is a dependency of golang-github-kardianos-service, which
is a dependency of latest telegraf upstream releases.

Attached a working and tested packaging. It only requires filling in
this ITP bug number in debian/changelog, changing the Maintainer field
and adding Vcs fields.

Thanks,
Guillem


golang-github-kardianos-osext_0.0~git20160811.0.c2c54e5-1.debian.tar.xz
Description: application/xz
___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers