On 03/04/2013 18:59, Alexey I. Froloff wrote:
> On Wed, Apr 03, 2013 at 06:03:09PM +0200, "Rodolfo García Peñas (kix)" wrote:
>> I think that every dockapp should continue with their version number if
>> the code doesn't change. I think dockapps repo is only to hold all
>> applications together and avoid lost them.
> How do you suggest tracking dockapp versions?

IMO, I should use the version number included in the code by the last
person that make changes. If there are changes, but no new version, then
using the old version number, +git-<date> where date is yyyymmdd.

>> perhaps the script used to do the nightly package for wmaker (at debian
>> folder) can help you to create the .tgz files. You can create the .tgz
>> for every dockapp, with a new version, only if the revision change.
> What is that "revision" you are talking about?
> 
> I've changed the code of wmfoo dockapp and decided to release
> version 0.4.18.  What's next?  How do I tag this release and make
> a tarball?

I don't know. Perhaps incluiding some file with the revision number.

> Next question: I want to make tarball for the newest version on
> wmbar dockapp.  Just checked out the dockapps repo.  How can I do
> that?

If you are uploading the .tgz to any place, then the package is there.

But, anyway. I think your idea is good (except I don't like github). If
you (or you and Carlos, or you Carlos and X (where X is not me [sorry,
but really, my time^H^H^H^H no time])) maintain the dockapps repo,
perfect. I only try to say that every dockapp is different, because are
different applications, and have different files and different file
tree. Perhaps, we should work in other direction, like change things to
make the dockapps with the same struct, include machine-readable
files,... I don't know.

I wrote in my notebook (paper):

- Create an script to make dockapps tgz's and upload to any place.
- Create a new dockapp library with the common code to do common (basic)
things, like:
  * Code to read the CPU (used by wmmon, wmcpumon,...)
  * Code to read the network interfaces (speed,...) used by multiple
dockapps too.

Because I am not doing it, because I am with other things, feel free to
do what you want. If you need help, and I can help you, I'm here.

One thing more, please hold only *one* repo for the dockapps.

Saludos,
kix
-- 
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/


-- 
To unsubscribe, send mail to [email protected].

Reply via email to