[fossil-users] how to re-open trunk?

2013-11-10 Thread Ben Collver
Good morning,

I noticed that my trunk is closed in fossil [1].  The relevant timeline
is linked below [2].  What is the normal way to re-open trunk?  I could
not find it in the UI.

Thank you,

-Ben

[1]
http://code.rogueclass.org/rcl/brlist?closed

[2]
http://code.rogueclass.org/rcl/timeline?n=75&b=2013-10-06+16:48:36
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] how to re-open trunk?

2013-11-10 Thread Ben Collver
Hi Stephan,

As a test, I cloned the repository and turned off autosync.  In the
clone, I added commit e9beac17da to the trunk branch and it appeared to
break the timeline.

I noticed that commit faf2ad2219 is the first one without the trunk tag.
I cloned the repository again, this time adding commit faf2ad2219 to the
trunk branch.  The timeline remained intact and the trunk tag propagated
all the way to the most recent commit!  However, no branches are listed
as open.  The trunk branch is on the closed branches page [1] and is
missing from the open branches.

I don't know why the latest commit isn't a leaf.  I should mention that
this repository is on a virtual machine and the clock drifts.  When it
drifts too far, I manually sync the clock over ntp.  I did not expect
the clock to be a problem because I never sync the clock in the middle
of a commit.

Thank you for the help so far,

-Ben

[1]
http://code.rogueclass.org/rcl-test1/brlist?closed


On Sun, Nov 10, 2013 at 07:22:35PM +0100, Stephan Beal wrote:
> On Sun, Nov 10, 2013 at 7:09 PM, Ben Collver  wrote:
> 
> > Good morning,
> 
> 
> > I noticed that my trunk is closed in fossil [1].  The relevant timeline
> > is linked below [2].  What is the normal way to re-open trunk?  I could
> > not find it in the UI.
> >
> 
> Good evening, Ben,
> 
> IIRC, you just need to open up the commit you want in the UI, probably this
> one:
> 
> http://code.rogueclass.org/rcl/info/e9beac17da
> 
> Try the Branches option and add it to the "trunk" branch. i seem to
> remember this coming up once before (a long time ago).
> 
> i'm a bit confused about this part:
> 
> http://code.rogueclass.org/rcl/timeline
> 
> the commit on Nov 9th at 1532 is a leaf and its ancestor on Nov 10th at
> 1757 is not.
> 
> i'd clone it and take a look but i'm about 10 minutes from shutting down my
> PC for the night and know i won't get any time to look at it the next
> couple of days. So... i'll just hope that someone else can shed some light
> on this for us.
> 
> -- 
> - stephan beal
> http://wanderinghorse.net/home/stephan/
> http://gplus.to/sgbeal
> "Since tyranny's the only guaranteed byproduct of those who insist on a
> perfect world, freedom will have to do." -- Bigby Wolf

> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] how to re-open trunk?

2013-11-19 Thread Ben Collver
On Sun, Nov 10, 2013 at 07:22:35PM +0100, Stephan Beal wrote:
> On Sun, Nov 10, 2013 at 7:09 PM, Ben Collver  wrote:
> > What is the normal way to re-open trunk?  I could
> > not find it in the UI.
> 
> IIRC, you just need to open up the commit you want in the UI, probably this
> ...
> Try the Branches option and add it to the "trunk" branch. i seem to
> remember this coming up once before (a long time ago).

Good evening,

I took the following steps:
$ fossil clone http://code.rogueclass.org/rcl rcl-test1.fossil
$ mkdir rcl
$ cd rcl
$ fossil open ../rcl-test1.fossil
$ fossil update --latest
$ fossil settings autosync off
$ fossil ui &
* Edit commit faf2ad2219
* Start new branch trunk
$ fossil leaves --recompute

You can view the results at the following URL.
http://code.rogueclass.org/rcl-test1/

The good news is that the latest commit a6bf272559 is back in trunk, it
is labeled as a leaf in the timeline, and it is back on the Open leaves
page.

The bad news is that trunk is still listed on the Closed Branches page.

Is there a way to recompute the open branches?

Thank you,

-Ben
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] how to re-open trunk?

2013-11-20 Thread Ben Collver
On Tue, Nov 19, 2013 at 11:35:39PM -0700, Andy Bradford wrote:
> Thus said "Andy Bradford" on 19 Nov 2013 23:18:40 -0700:
> > Thus said Ben Collver on Tue, 19 Nov 2013 21:24:33 -0800:
> > > * Edit commit faf2ad2219
> > > * Start new branch trunk
> > 
> > You need to also edit 816b791510bd638d and add the trunk branch there.
> 
> You will  also want  to edit 1b524f8b49,  a242a0a019, and  5080e9080d to
> remove the trunk tag from there (not the branch).

Thank you, that is what I missed.

> It looks  like the  start of your  problem were the  edits to  the trunk
> here:
> 
> http://code.rogueclass.org/rcl/timeline?n=30&b=2013-09-16+05:33:49
> 
> Notice that you edited faf2ad2219 and  removed the branch tag. I believe
> what you really intended to do was  edit 5080e9080d make it the start of
> a new branch.

As I recall it, I:
1) started a new branch sdl2-egl-fbcon on commit faf2ad2219
2) realized that I wanted commit 5080e9080d instead
3) edited commit faf2ad2219 to cancel the sdl2-egl-fbcon branch
   I think this also canceled trunk, but I am not sure why.
4) started a new branch sdl2-egl-fbcon on commit 5080e9080d
5) took a while to realize that trunk had been canceled

It seems that all is well now.  Thanks for the help!

-Ben

p.s.  Every time I reboot the VM, the clock goes way off.  I corrected
this by configuring the VM to use UTC instead of local time.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] how to re-open trunk?

2013-11-20 Thread Ben Collver
On Wed, Nov 20, 2013 at 10:40:32AM +0100, Stephan Beal wrote:
> Good morning!
> 
> IIRC (but i might be misremembering) the open branches can be recomputed by
> running 'fossil rebuild' (which is a harmless op - it never hurts to run
> it). Something little voice in the back of my mind is saying that that's
> not right, but i'm up to my ears in JBoss cluster installations and can't
> go poke around the sources right now :/. Please try a rebuild and what Andy
> proposed, in either order, and set the system clock to avoid other
> (unrelated) problems, and let us know how that goes.

Hi Stephan,

Thank you for the advice.  It worked out great.

Cheers,

-Ben
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Export artifact to archive?

2014-01-03 Thread Ben Collver
On Fri, Jan 03, 2014 at 04:36:26PM +, Roy Marples wrote:
> Hi List
> 
> Can fossil create an archive (tarball, zip file, etc) from a given
> artifact id WITHOUT using the web interface?
> Something like this is what I need:
> $ fossil archive ?ID | bzip2 > distribution-version.tar.bz2
> 
> Thanks
> 
> Roy

Good morning,

You could kludge it together using other features.  Here is an untested
script to give a rough idea.

Cheers,

-Ben


$ cat >fossil-archive.sh <<__EOF__
#!/bin/sh
url="$1"
id="${2:-trunk}"
if [ -z "$url" ]
then
echo "Usage: fossil-archive.sh URL ?ID"
exit 0
fi

dir=$(mktemp -d)
subdir="dist-$id"

cd "$dir"
fossil clone "$url" dist.fossil
mkdir "$subdir"
cd -

cd "$dir/$subdir"
fossil open "$dir/dist.fossil" "$id"
cd -

cd "$dir"
tar jc "$subdir"
cd -

rm -fr "$dir" 
__EOF__

$ chmod a+rx fossil-archive.sh
$ ./fossil-archive.sh http://foo/bar >dist-trunk.tar.bz2
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Version 1.28 release?

2014-01-16 Thread Ben Collver
On Thu, Jan 16, 2014 at 10:48:06AM -0500, Richard Hipp wrote:
> So we have a "branch-1.28" which is suppose to be for release.  I'm
> wondering if anybody is actually using and testing it?

I am using it for some personal projects, but not 60K page views/day.
No problems here yet.

Cheers,

-Ben
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] G+ Fossil page?

2014-03-21 Thread Ben Collver
On Fri, Mar 21, 2014 at 08:59:40AM +0100, Remigiusz Modrzejewski wrote:
> On 20 Mar 2014, at 09:11, Martijn Coppoolse  
> wrote:
> > I don't think Fossil *needs* a Google+ page; but it's always an extra 
> > channel for Fossil users.
> 
> I’m afraid social media presence, from someone with a nontrivial number of 
> followers, is something that is needed these days to gain any traction.

Which other DVCS have succeeded because of Google+?

-Ben
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] G+ Fossil page?

2014-03-21 Thread Ben Collver
On Fri, Mar 21, 2014 at 02:26:51AM -0700, Stephan Beal wrote: 
> It's just about getting extra exposure. The best feature ideas and
> improvements often come from users rather than the developers (no
> offense, guys ;).

I rather think it is the other way around: social networks stand to gain
from the hype of everyone clamoring to be there.

It brings to mind that scene in Jurassic Park where the child actor
exclaims "It's a UNIX system!"  Did this exposure cause new ideas in
UNIX?  Or did it actually benefit the movie by serving as an exotic
prop?

What better exposure than a Hollywood blockbuster?  Jurassic Park XIII,
at a command line terminal under a T-rex skeleton.  Cue child actor:
"It's fossil, I know this!"  Huge improvements incoming!

-Ben
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users