Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Some help #31

Closed
wants to merge 1 commit into from
Closed

Some help #31

wants to merge 1 commit into from

Conversation

pksunkara
Copy link

First commit shows the vars which should be allowed to be configured generally.

{
  "Depends": "",
  "Priority": "extra",
  "Section": "devel",
  "Status": "unreleased",
  "Build-Depends": "debhelper (>= 9.1.0), golang-go"
}

All the above vars should be able to be overwritten. I hope you do this soon.


I need the source.changes file to upload the source package to launchpad. This is the process I follow:

$ cd src/github.com/pksunkara/whitespaces
$ goxc pkg-source
$ cd 1.0.0/source-deb

$ tar -xvf *.debian.tar.gz
$ debuild -S -sa

$ dput ../*_source.changes

But when I upload the source.changes to launchpad, it doesn't compile.

@pksunkara
Copy link
Author

Do you want to create another task named launchpad ?

Or pkg-source-changes.

I am pretty sure things differ between what method to generate *_source.changes and pkg-source task.

@laher
Copy link
Owner

laher commented Dec 27, 2013

Hi Pavan, yes I like your ideas.

A separate task for launchpad sounds like a good idea, but I'm not sure yet how much can be achieved in a cross-platform way. i.e. can it all be acheived without exec'ing debuild or dput? Does it rely on gpg signing (I think so)? Could you outline what your series of commands would be for packaging & uploading to launchpad manually, including setting up the gpg keys?

I've started reading up on it but it's a very broad subject and there are so many tools available - debuild, dh_make, dpkg-*, so-on and so-on. Each one seems to provoke slightly different lintian errors, which is doing my head in a little.

Regarding the config options I'm planning to share the properties between all the different tasks relating to .debs. I have been thinking of how to do this generally, but perhaps for .debs it makes sense to add a top-level Debian object. I'll definitely provide those options you've proposed.

Note that I'm also planning to convert 'pkg-source' to an 'alias' & move the source-deb functionality into a new task 'source-deb'. There will be other source packaging tasks covered by the pkg-source alias, like 'source-zip' and 'source-targz' (and maybe-one-day tasks for source-rpms & other formats).

I'll let you know once I've got somewhere with debuild -S -sa and this refactoring

@pksunkara
Copy link
Author

I followed this tutorial on how to convert a simple script service-disable into a source package and upload it to

The corresponding repo is service-disable.

@pksunkara pksunkara closed this Jul 24, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants