Re: FreeDiams uploaded

2009-10-02 Thread Eric MAEKER
Ok, so if I mostly understand scripts, I should wget files in '../ 
tarballs'. That's sounds strange for me to create a dir outside a svn  
bundle (or the script's working dir), but nevermind I'll wrote the  
script this way.

It is not very difficult...
Sources are getting closed.

Thanks,
Eric
http://www.freemedforms.com/

Le 2 oct. 09 à 07:33, Andreas Tille a écrit :


On Thu, Oct 01, 2009 at 10:21:48PM +0200, Eric MAEKER wrote:

Oh I can create a command that automatically dld tar.gz file ? Very
interesting. I'll take a look to doc.


Developers reference: 6.7.8.2. Repackaged upstream source

It is talking about repackaged orig.tar.gz but I think it is handy in
any way.  If you like to browse the Debian Med SVN for

  find packages -name get-orig-source

you will find examples for such scripts.  It is used as rule for the
get-orig-source target in the according rules file.  While this is
definitely not mandatory if you do not change the original tarball I
like to have a default way to get the original source and put it in
nearly all of may packages.

Moreover you might consider a debian/watch file once your original
tarball is online (see man uscan).

Kind regards

  Andreas.

--
http://fam-tille.de






--
To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: FreeDiams uploaded

2009-10-02 Thread Andreas Tille
On Fri, Oct 02, 2009 at 09:38:25AM +0200, Eric MAEKER wrote:
> Ok, so if I mostly understand scripts, I should wget files in '../ 
> tarballs'. That's sounds strange for me to create a dir outside a svn  
> bundle (or the script's working dir), but nevermind I'll wrote the  
> script this way.

Our policy for using SVN is to store only the debian directory in
the repository.  The files in the debian directory might deal with
other locations in your directory tree.  We do not commit the source
tarball into the SVN.

If it fits your workflow better you might be interested in the new
Git repository[1] which has a different workflow and keeps the whole
upstream source as well.

Kind regards

   Andreas.

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: FreeDiams uploaded

2009-10-02 Thread Eric MAEKER

Le 2 oct. 09 à 11:39, Andreas Tille a écrit :

Our policy for using SVN is to store only the debian directory in
the repository.  The files in the debian directory might deal with
other locations in your directory tree.  We do not commit the source
tarball into the SVN.
Ok so if I understand. During the build/packaging process, your  
commands look like :

cd trunk/package//trunk
./debian/get-orig-source  (tarballs directory is create in / 
trunk, sources are stored there - outside svn)

cd tarballs
untar
cd -
debuild [...]
cd ..
sudo pbuilder [...]

That it ?

I'll commit the script this afternoon so you can check the  
'mecanism' ;) I can make all necessary correction if needed.



If it fits your workflow better you might be interested in the new
Git repository[1] which has a different workflow and keeps the whole
upstream source as well.

Hummm, svn if painfull enough for me ;)


Kind regards

  Andreas.

Thanks for your time and advises.

Eric




--
To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: FreeDiams uploaded

2009-10-02 Thread Eric MAEKER


Le 2 oct. 09 à 12:21, Eric MAEKER a écrit :

I'll commit the script this afternoon so you can check the  
'mecanism' ;) I can make all necessary correction if needed.
Script and sources committed (script on your svn, source --> get-orig- 
source).


Eric


--
To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: FreeDiams uploaded

2009-10-02 Thread Andreas Tille
On Fri, Oct 02, 2009 at 01:08:58PM +0200, Eric MAEKER wrote:
> Script and sources committed (script on your svn, source --> get-orig- 
> source).

I commited cosmetical changes using dpkg-parsechangelog.  But your
download URL seems to be a cut-n-pasto from imagej. Could you please fix
the download URL?

Kind regards

Andreas.

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: FreeDiams uploaded

2009-10-02 Thread Eric MAEKER

Hi Andreas,
Le 2 oct. 09 à 21:44, Andreas Tille a écrit :

On Fri, Oct 02, 2009 at 01:08:58PM +0200, Eric MAEKER wrote:
Script and sources committed (script on your svn, source --> get- 
orig-

source).


I commited cosmetical changes using dpkg-parsechangelog.  But your
download URL seems to be a cut-n-pasto from imagej. Could you please  
fix

the download URL?


Yes greatly thanks for your additions.
Script looks great, i've changed wget url. like this :
  wget -q $URL
That's all.

Eric

--
To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org