Re: Request to Join Project Debian Med from Vojtech Kulvait (kulvait-guest)

2017-03-13 Thread Ghislain Vaillant

On 13/03/17 07:29, Andreas Tille wrote:

[Please note that I sent a copy to the list since there is no
 private information in your mail and *all* technical discussion
 should be archived on the list.]

Hi Vojtech,

On Mon, Mar 13, 2017 at 12:01:01AM +0100, Vojtech Kulvait wrote:

thank you for adding me. I was able to obtain sources running

gbp clone git://git.debian.org/debian-med/dicompyler.git


this is the anonymous checkout.  It is better to use ssh://...
You can easily change this afterwards by editing the file

   .git/config

in the [remote "origin"]  url  property (or more cleanly you know the
proper Git command to do so which I resist to learn due to this
shortcut.


However gbp buildpackage did not work due to missing public keys.


Most probably you get an error due to missing *private* key.  That's
actually not a "did not work" issue since the packages are created but
not signed.  Just add your own ID (name + e-mal) in debian/control as
Uploader and use the same ID inside the changelog where gbp is seeking
for the ID that should sign the upload ... if not overriden at command
line using  --debsign-k "your ID"  which you could do alternatively.


I was working on fixing wxPython 3.0 stuff. I noticed that someone did some
work on this as well since there is ./debian/patches/fix-xrc-errors.patch
that seems not to be applied on sources.


You neet do call

quilt push -a

to get all patches applied!


Or you can use `gbp-pq` [1] if you are more comfortable with git.

[1] 
http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.patches.html



Anyway I have been able to fix the problems and get the program running
under https://packages.debian.org/jessie/libwxgtk3.0-0 package, the main
functionality is fixed.

I don't know what to do next if I want to get it back to Debian.


Please make sure you apply all quilt patches first.  Then you do

quilt new my_new_patch.patch
quilt edit file_to_edit
quilt refresh
vi debian/patches/my_new_patch.patch
  add
Author: your_ID
Last-Update: ...
Bug-Debian: https://bugs.debian.org/854837
Description
  fields to document the patch
git add debian/patches/my_new_patch.patch
quilt pop -a
  ## This is *important* to make sure you do not commit all
  ## changes done by quilt as git changes
dch
  ## document your change in debian/changelog
git commit -a
  ## make sure only your patch, debian/patches/series and
  ## debian/changelog are changed here
git push


It seem
that I don't have write access to git


See above.  You have an anonnymous clone - just use ssh.


That's assuming Vojtech is already a member of the team and provided his 
SSH key to Alioth, right?



and I also don't know if the official
packages are somehow automatically built from git repositories. I would
like to at least check the dependencies.


There is no such thing like automatic build.  You need a sponsor (for
instance me) who builds the package, checks it and signs with a key that
has a @debian.org address (=official Debian Developer).


You may request access to the debomatic service, which would allow you 
to test your builds in a similar setup as the official builders. To push 
the package to the latter, you would need to be sponsored as Andreas 
described.


[2] http://debomatic-amd64.debian.net/

Cheers,
Ghis



Re: Request to Join Project Debian Med from Vojtech Kulvait (kulvait-guest)

2017-03-13 Thread Andreas Tille
[Please note that I sent a copy to the list since there is no
 private information in your mail and *all* technical discussion
 should be archived on the list.]

Hi Vojtech,

On Mon, Mar 13, 2017 at 12:01:01AM +0100, Vojtech Kulvait wrote:
> thank you for adding me. I was able to obtain sources running
> 
> gbp clone git://git.debian.org/debian-med/dicompyler.git

this is the anonymous checkout.  It is better to use ssh://...
You can easily change this afterwards by editing the file

   .git/config

in the [remote "origin"]  url  property (or more cleanly you know the
proper Git command to do so which I resist to learn due to this
shortcut.
 
> However gbp buildpackage did not work due to missing public keys.

Most probably you get an error due to missing *private* key.  That's
actually not a "did not work" issue since the packages are created but
not signed.  Just add your own ID (name + e-mal) in debian/control as
Uploader and use the same ID inside the changelog where gbp is seeking
for the ID that should sign the upload ... if not overriden at command
line using  --debsign-k "your ID"  which you could do alternatively.
 
> I was working on fixing wxPython 3.0 stuff. I noticed that someone did some
> work on this as well since there is ./debian/patches/fix-xrc-errors.patch
> that seems not to be applied on sources.

You neet do call

quilt push -a

to get all patches applied!
 
> Anyway I have been able to fix the problems and get the program running
> under https://packages.debian.org/jessie/libwxgtk3.0-0 package, the main
> functionality is fixed.
> 
> I don't know what to do next if I want to get it back to Debian.

Please make sure you apply all quilt patches first.  Then you do

quilt new my_new_patch.patch
quilt edit file_to_edit
quilt refresh
vi debian/patches/my_new_patch.patch
  add
Author: your_ID
Last-Update: ...
Bug-Debian: https://bugs.debian.org/854837
Description
  fields to document the patch
git add debian/patches/my_new_patch.patch
quilt pop -a
  ## This is *important* to make sure you do not commit all
  ## changes done by quilt as git changes
dch
  ## document your change in debian/changelog
git commit -a
  ## make sure only your patch, debian/patches/series and
  ## debian/changelog are changed here
git push

> It seem
> that I don't have write access to git

See above.  You have an anonnymous clone - just use ssh.

> and I also don't know if the official
> packages are somehow automatically built from git repositories. I would
> like to at least check the dependencies.

There is no such thing like automatic build.  You need a sponsor (for
instance me) who builds the package, checks it and signs with a key that
has a @debian.org address (=official Debian Developer).

Hope this hints are helpful.  Just ask on the mailing list if something
remains unclear.

Thanks a lot for working on dicompyler

  Andreas.
 
> 2017-03-12 12:22 GMT+01:00 Andreas Tille :
> 
> > Hi Vojtech,
> >
> > welcome in the team - as promised I have moved dicompyler to Git.
> > Just try
> >
> >gbp clone ssh://git.debian.org/git/debian-med/dicompyler.git
> >
> > Hope this helps.  If you have more question please send them to
> >
> >debian-med@lists.debian.org
> >
> > Kind regards
> >
> >   Andreas.
> >
> > On Sun, Mar 12, 2017 at 10:21:06AM +, nore...@alioth.debian.org wrote:
> > > Vojtech Kulvait (kulvait-guest) has requested to join your project.
> > > You can approve this request here: https://alioth.debian.org/
> > project/admin/users.php?group_id=30063
> > >
> > > Comments by the user:
> > > Hi,
> > > I am Vojtech Kulvait and we discussed the possibility that I will take
> > care about the next dicompyler release.
> > > Kind regards,
> > > Vojtech.
> > >
> >
> > --
> > http://fam-tille.de
> >

-- 
http://fam-tille.de