Re: [hwloc-devel] nightly snapshot tarballs now available

2013-10-02 Thread Brice Goglin
Le 02/10/2013 17:54, Jeff Squyres (jsquyres) a écrit :
> On Sep 28, 2013, at 10:05 AM, Brice Goglin  wrote:
>
>> The only things that we're still missing as far as I know are:
>> * the debian repository as explained above (by the way, beware that
>> branches are not under branches/ in there)
> Sorry for the delay in replying -- I suck at inbox management.  :-(
>
> No, I think that one was not converted because I think Dave+me thought you 
> were going to move that to a separate repo outside of this conversion process.

I can do it (assuming the "hwloc-svn-conversion" git tree it uptodate).
But I need somebody to create the ompi/hwloc-debian repo on github and
give us credentials.


>> * some missing branches on github (mainly the cuda branch)
> Yow -- WTF happened there?  :-(
>
> Tell me which SVN branches you want to keep -- just the cuda branch? -- and 
> let me chat with Dave to see how to get that back.

The only important one is "cuda".
Most other branches were merged, or manually applied to trunk, or are
obsolete. Maybe just keep "json" and "valarray" in case we ever need to
revive them.

Looks like we're also missing stable branches v0.9, v1.0 and v1.1 for
some reason.

Brice



Re: [hwloc-devel] git / nightly builds

2013-10-02 Thread Jeff Squyres (jsquyres)
Sorry for the delay in replying.


On Sep 29, 2013, at 10:32 AM, Brice Goglin  wrote:

> Now why do we still need a call to git-describe in get_version.sh? Isn't
> this script supposed to just read what distscript.csh did? (which would
> mean that "if test -z "$HWLOC_SNAPSHOT_VERSION" is useless). Or do you
> need that as a fallback for when we compile instead of doing make dist?
> In one case, we force the snapshot by modifying VERSION (make dist), in
> the other case we git describe at runtime (make). It would be good to
> merge these two cases somehow.

Basically, there's a (possibly artificial?) disparity between:

1. running "make dist" from a developer clone
2. pre-processing VERSION to put in the describe version and then running "make 
dist" (i.e., the make_*_tarball scripts)

Specifically, VERSION in the repo has:

snapshot=1
snapshot_version=

Ie., snapshot_version is blank.  Which is why get_version.sh will fill in the 
current "git describe" value if snapshot_version is blank.

But you're right -- this is putting "git describe" in two places.  What if 
VERSION in the repo has:

snapshot=1
snapshot_version=gitclone

And therefore get_version.sh always just uses the snapshot_version value 
(because it will never be blank).  

The downside of this is that "make dist" from a dev clone won't accurately 
represent the tree, but that's probably ok.  

*** If you're kosher with this, I'll remove that extra logic from 
get_version.sh.  Maybe I'll make it error if "snapshot_version" is empty, or 
something.

>> 2. contrib/nightly/make_snapshot_tarball:
>>   - Invoked via cron on the build machine
>> [snip]
> 
> Ok I didn't know that there was so website-specific things in that
> script. I assumed it was mainly a make distcheck (if so, I would have
> tried to reuse it in the regression testing tool).

K.  I think "make dist[check]" is the heart of everything (and the thing that 
is "re-used", so to speak everywhere); the rest is processing that we do for 
whatever reason that the tarball is being built.

Any other thoughts on how we can simplify things?

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/



Re: [hwloc-devel] nightly snapshot tarballs now available

2013-10-02 Thread Jeff Squyres (jsquyres)
On Sep 28, 2013, at 10:05 AM, Brice Goglin  wrote:

> The only things that we're still missing as far as I know are:
> * the debian repository as explained above (by the way, beware that
> branches are not under branches/ in there)

Sorry for the delay in replying -- I suck at inbox management.  :-(

No, I think that one was not converted because I think Dave+me thought you were 
going to move that to a separate repo outside of this conversion process.

> * some missing branches on github (mainly the cuda branch)

Yow -- WTF happened there?  :-(

Tell me which SVN branches you want to keep -- just the cuda branch? -- and let 
me chat with Dave to see how to get that back.

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/