Re: [fossil-users] Completely untagged commits ?

2016-01-06 Thread Stephan Beal
On Wed, Jan 6, 2016 at 10:18 AM, Stephan Beal  wrote:

> From what i remember in libfossil, it is possible to go from private to
> public, but never the reverse. Mixing private content with public in a
> commit causes, if i'm understanding the code correctly, the whole commit to
> be made private.
>

Correction: if a commit is made based on a checkout which itself is
private, that commit is also marked as private.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But 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


Re: [fossil-users] Completely untagged commits ?

2016-01-06 Thread Stephan Beal
On Tue, Jan 5, 2016 at 8:32 PM, bch  wrote:

> On 1/5/16, Richard Hipp  wrote:
> > On 1/5/16, Richard Hipp  wrote:
> > Even after rebuilding, the check-in shows up as "unpublished".
> > There's a bug somewhere in the "private" tag handling.  Who can be the
> > first to find it!
>
> I think we've got a few hours until Stephan Beal wakes up...
>


lol! My coding is still limited to a handful of lines per day, so i'm not
likely to be much help here :/.

i agree with Andy B. that "publish" is not the right command here - that's
intended for bundles, as i understand it. i've no experience with bundles.

>From what i remember in libfossil, it is possible to go from private to
public, but never the reverse. Mixing private content with public in a
commit causes, if i'm understanding the code correctly, the whole commit to
be made private.


-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But 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


Re: [fossil-users] Completely untagged commits ?

2016-01-06 Thread Ron W
On Wed, Jan 6, 2016 at 4:18 AM, Stephan Beal  wrote:
>
> i agree with Andy B. that "publish" is not the right command here - that's
> intended for bundles, as i understand it. i've no experience with bundles.
>

The docs suggest it's also applicable to ant private artifacts and branches:

"Cause artifacts identified by TAGS... to be published (made
non-private). This can be used (for example) to convert a private
branch into a public branch, or to publish a bundle that was imported
privately."
___
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] Completely untagged commits ?

2016-01-05 Thread bch
Hi Dave.

 Don't fret! I'm not attributing this to malice or blaming -you-, but
something does look strange to me (on my local copy of the repo).

Cheers,

-bch

On 1/5/16, David Vines  wrote:
> On 05/01/2016 18:53, bch wrote:
>> How did we end up w/ dave.vines' completely untagged (no branch)
>> commits in the repository (or am I misreading what these are?) ?
>>
>> ref:
>>/info/b208bf75777604dc
>>/timeline?u=dave.vines=2016-01-05+10%3A12%3A56=200
>
> If I've messed this up, I do most humbly apologise and want to fix it
> ASAP - but I see this as tagged as "technoteattachcli", at least in the
> fossil-scm.org web ui.
>
> One curious aspect I do see is that the web ui has the annotation of
> "unpublished" against the creation of the branch. I did start by have a
> private branch which I then published - I do wonder if this might be
> part of the problem.
>
> David
> ___
> 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] Completely untagged commits ?

2016-01-05 Thread David Vines

On 05/01/2016 18:53, bch wrote:

How did we end up w/ dave.vines' completely untagged (no branch)
commits in the repository (or am I misreading what these are?) ?

ref:
   /info/b208bf75777604dc
   /timeline?u=dave.vines=2016-01-05+10%3A12%3A56=200


If I've messed this up, I do most humbly apologise and want to fix it 
ASAP - but I see this as tagged as "technoteattachcli", at least in the 
fossil-scm.org web ui.


One curious aspect I do see is that the web ui has the annotation of 
"unpublished" against the creation of the branch. I did start by have a 
private branch which I then published - I do wonder if this might be 
part of the problem.


David
___
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] Completely untagged commits ?

2016-01-05 Thread bch
On 1/5/16, Richard Hipp  wrote:
> On 1/5/16, Richard Hipp  wrote:
>> On 1/5/16, David Vines  wrote:
>>>
>>> One curious aspect I do see is that the web ui has the annotation of
>>> "unpublished" against the creation of the branch. I did start by have a
>>> private branch which I then published - I do wonder if this might be
>>> part of the problem.
>>>
>>
>> There was a "private" tag on that initial check-in.  I have cancelled
>> that tag.  But the check-in is still showing as "unpublished".  Must
>> be a bug somewhere.  A "fossil rebuild" will likely clear the problem.
>> I'll try that next...
>
> Even after rebuilding, the check-in shows up as "unpublished".
> There's a bug somewhere in the "private" tag handling.  Who can be the
> first to find it!

I think we've got a few hours until Stephan Beal wakes up...


> I went into the repository and manually did a "DELETE FROM private
> WHERE rid=(SELECT rid FROM blob WHERE uuid LIKE '5712fa8f133228f%')".
> That got the repo working again.  But that entry in the private table
> will probably reappear the next time the repo is rebuilt.
>
> But in the meantime, you can all sync the public repo and try to
> figure out what is the problem.
> --
> D. Richard Hipp
> d...@sqlite.org
> ___
> 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] Completely untagged commits ?

2016-01-05 Thread bch
Here's what I see on my *local* machine (see also attached ffox screenshot):

strathcona$ fossil timel
=== 2016-01-05 ===
10:12:56 [d4dc7ad8dc] [c541b6e734] Remove unintended white space
change in wiki.c (user: dave.vines)
08:40:09 [64a5ef28e5] [c541b6e734] Move attachment command from wiki.c
to attach.c (user: dave.vines)
08:34:24 [16f864af8f] [c541b6e734] Move attachment from wiki
subcommand to top level command (user: dave.vines)
04:52:59 [cd58f59a47] Update the built-in SQLite to the next 3.10.0
beta. (user: drh tags: trunk)
=== 2016-01-04 ===
23:29:36 [c3430c1a67] Edit [2c5a5e82be8c30d7|2c5a5e82be]: Edit
check-in comment. (user: aku)
03:41:15 [6f8f8667c9] Update manifests on tag change. (user: jan tags:
jan-manifest-tags)
03:10:27 [53f2e7c540] Filter tags. (user: jan tags: jan-manifest-tags)
02:54:39 [dacecc79aa] Handle the three manifest files separately so
manifest generation reconfigurations can be handled properly. (user:
jan tags: jan-manifest-tags)
02:16:47 [46b9adb70f] Conditionally save manifests on commit. (user:
jan tags: jan-manifest-tags)
00:36:40 [de30eec201] Code normalization; tabs->spaces. (user: jan
tags: jan-manifest-tags)
00:29:24 [c6f3eba715] Edit [e5b250959ad4ec15|e5b250959a]: Edit
check-in comment. (user: jan)
00:28:40 [aed6fe5308] Add manifest.tags to generated zips, and
decouple manifest and manifest.uuid. (user: jan tags:
jan-manifest-tags)
00:22:03 [185669ce21] Fix: Extract filename for manifest.tags. (user:
jan tags: jan-manifest-tags)
00:19:00 [6a56db89f6] Added a missing finalize. (user: jan tags:
jan-manifest-tags)
=== 2016-01-03 ===
23:55:15 [80ceedbdea] Add manifest.tags to tarballs when appropriate,
and decouple manifest and manifest.uuid. (user: jan tags:
jan-manifest-tags)
22:54:15 [142cb7aabd] Add manifest.tags to the list of potentially
reserved names and decouple manifest and manifest.uuid from each
other. (user: jan tags: jan-manifest-tags)
22:46:00 [226e7c2842] Fix; second argument of db_get_versioned() is
not that of db_get(). (user: jan tags: jan-manifest-tags)
--- line limit (20) reached ---


On 1/5/16, bch  wrote:
> Hi Dave.
>
>  Don't fret! I'm not attributing this to malice or blaming -you-, but
> something does look strange to me (on my local copy of the repo).
>
> Cheers,
>
> -bch
>
> On 1/5/16, David Vines  wrote:
>> On 05/01/2016 18:53, bch wrote:
>>> How did we end up w/ dave.vines' completely untagged (no branch)
>>> commits in the repository (or am I misreading what these are?) ?
>>>
>>> ref:
>>>/info/b208bf75777604dc
>>>/timeline?u=dave.vines=2016-01-05+10%3A12%3A56=200
>>
>> If I've messed this up, I do most humbly apologise and want to fix it
>> ASAP - but I see this as tagged as "technoteattachcli", at least in the
>> fossil-scm.org web ui.
>>
>> One curious aspect I do see is that the web ui has the annotation of
>> "unpublished" against the creation of the branch. I did start by have a
>> private branch which I then published - I do wonder if this might be
>> part of the problem.
>>
>> David
>> ___
>> 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] Completely untagged commits ?

2016-01-05 Thread bch
I just did another pull, and the branch tags showed up, so @drh, I
think your rebuild helped somewhat. Now to find out how the repo got
into it's "broken" state in the first place.

On 1/5/16, bch  wrote:
> On 1/5/16, Richard Hipp  wrote:
>> On 1/5/16, Richard Hipp  wrote:
>>> On 1/5/16, David Vines  wrote:

 One curious aspect I do see is that the web ui has the annotation of
 "unpublished" against the creation of the branch. I did start by have a
 private branch which I then published - I do wonder if this might be
 part of the problem.

>>>
>>> There was a "private" tag on that initial check-in.  I have cancelled
>>> that tag.  But the check-in is still showing as "unpublished".  Must
>>> be a bug somewhere.  A "fossil rebuild" will likely clear the problem.
>>> I'll try that next...
>>
>> Even after rebuilding, the check-in shows up as "unpublished".
>> There's a bug somewhere in the "private" tag handling.  Who can be the
>> first to find it!
>
> I think we've got a few hours until Stephan Beal wakes up...
>
>
>> I went into the repository and manually did a "DELETE FROM private
>> WHERE rid=(SELECT rid FROM blob WHERE uuid LIKE '5712fa8f133228f%')".
>> That got the repo working again.  But that entry in the private table
>> will probably reappear the next time the repo is rebuilt.
>>
>> But in the meantime, you can all sync the public repo and try to
>> figure out what is the problem.
>> --
>> D. Richard Hipp
>> d...@sqlite.org
>> ___
>> 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] Completely untagged commits ?

2016-01-05 Thread Richard Hipp
On 1/5/16, David Vines  wrote:
>
> One curious aspect I do see is that the web ui has the annotation of
> "unpublished" against the creation of the branch. I did start by have a
> private branch which I then published - I do wonder if this might be
> part of the problem.
>

There was a "private" tag on that initial check-in.  I have cancelled
that tag.  But the check-in is still showing as "unpublished".  Must
be a bug somewhere.  A "fossil rebuild" will likely clear the problem.
I'll try that next...

-- 
D. Richard Hipp
d...@sqlite.org
___
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] Completely untagged commits ?

2016-01-05 Thread Richard Hipp
On 1/5/16, Richard Hipp  wrote:
> On 1/5/16, David Vines  wrote:
>>
>> One curious aspect I do see is that the web ui has the annotation of
>> "unpublished" against the creation of the branch. I did start by have a
>> private branch which I then published - I do wonder if this might be
>> part of the problem.
>>
>
> There was a "private" tag on that initial check-in.  I have cancelled
> that tag.  But the check-in is still showing as "unpublished".  Must
> be a bug somewhere.  A "fossil rebuild" will likely clear the problem.
> I'll try that next...

Even after rebuilding, the check-in shows up as "unpublished".
There's a bug somewhere in the "private" tag handling.  Who can be the
first to find it!

I went into the repository and manually did a "DELETE FROM private
WHERE rid=(SELECT rid FROM blob WHERE uuid LIKE '5712fa8f133228f%')".
That got the repo working again.  But that entry in the private table
will probably reappear the next time the repo is rebuilt.

But in the meantime, you can all sync the public repo and try to
figure out what is the problem.
-- 
D. Richard Hipp
d...@sqlite.org
___
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] Completely untagged commits ?

2016-01-05 Thread Richard Hipp
On 1/5/16, bch  wrote:
> I just did another pull, and the branch tags showed up, so @drh, I
> think your rebuild helped somewhat. Now to find out how the repo got
> into it's "broken" state in the first place.
>

The rebuild didn't help.  It was my manual DELETE of the offending
entry in the PRIVATE table of the database that fixed it.  But that
entry will reappear at the next rebuild, I suspect.
-- 
D. Richard Hipp
d...@sqlite.org
___
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] Completely untagged commits ?

2016-01-05 Thread Richard Hipp
On 1/5/16, bch  wrote:
> What's incorrect, the documentation, or the implementation ?

Both, IIRC.  I think you can convert a private branch to public by
cancelling the "private" tag.  But I don't think that feature is
completely operational right now.

But it has been over a year since I worked on any of that.  And I'm
tied up working on SQLite right this moment and can't stop to look.


>
> From private.wiki:
>
> After additional work, one might desire to publish the changes associated
> with a private branch.  The usual way to do this is to merge those
> changes into a public branch.  For example:
>
> 
> fossil update trunk
> fossil merge private
> fossil commit
> 
>
> The private branch remains private.  (There is no way to convert a private
> branch into a public branch.)  But all of the changes associated with
> the private branch are now folded into the public branch and are hence
> visible to other users of the project.
>
>
> On 1/5/16, Richard Hipp  wrote:
>> On 1/5/16, bch  wrote:
>>> I just did another pull, and the branch tags showed up, so @drh, I
>>> think your rebuild helped somewhat. Now to find out how the repo got
>>> into it's "broken" state in the first place.
>>>
>>
>> The rebuild didn't help.  It was my manual DELETE of the offending
>> entry in the PRIVATE table of the database that fixed it.  But that
>> entry will reappear at the next rebuild, I suspect.
>> --
>> D. Richard Hipp
>> d...@sqlite.org
>> ___
>> 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
>


-- 
D. Richard Hipp
d...@sqlite.org
___
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] Completely untagged commits ?

2016-01-05 Thread David Vines

On 05/01/2016 19:53, Richard Hipp wrote:

On 1/5/16, bch  wrote:

What's incorrect, the documentation, or the implementation ?


Both, IIRC.  I think you can convert a private branch to public by
cancelling the "private" tag.  But I don't think that feature is
completely operational right now.

But it has been over a year since I worked on any of that.  And I'm
tied up working on SQLite right this moment and can't stop to look.



And what I read (and was presumably misled by) was the help text on 
fossil publish which says "can be used (for example) to convert a 
private branch into a public branch."


Looking at the code in publish.c my current suspicion is that it marks 
everything as public in the branch except for the branch itself. Hence

the branch artifact has a "+private" tag record.

David
___
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] Completely untagged commits ?

2016-01-05 Thread bch
What's incorrect, the documentation, or the implementation ?

>From private.wiki:

After additional work, one might desire to publish the changes associated
with a private branch.  The usual way to do this is to merge those
changes into a public branch.  For example:


fossil update trunk
fossil merge private
fossil commit


The private branch remains private.  (There is no way to convert a private
branch into a public branch.)  But all of the changes associated with
the private branch are now folded into the public branch and are hence
visible to other users of the project.


On 1/5/16, Richard Hipp  wrote:
> On 1/5/16, bch  wrote:
>> I just did another pull, and the branch tags showed up, so @drh, I
>> think your rebuild helped somewhat. Now to find out how the repo got
>> into it's "broken" state in the first place.
>>
>
> The rebuild didn't help.  It was my manual DELETE of the offending
> entry in the PRIVATE table of the database that fixed it.  But that
> entry will reappear at the next rebuild, I suspect.
> --
> D. Richard Hipp
> d...@sqlite.org
> ___
> 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] Completely untagged commits ?

2016-01-05 Thread Andy Bradford
Thus said David Vines on Tue, 05 Jan 2016 20:08:40 +:

> And what I  read (and was presumably  misled by) was the  help text on
> fossil publish  which says  "can be  used (for  example) to  convert a
> private branch into a public branch."

If I'm not  mistaken, the ``fossil publish'' command was  intended to be
used with bundles, not private branches per se. As far as I know, it has
never been possible to mark a private branch as public.

I wondered about  private content being marked public  when I discovered
the content_make_public() function:

http://marc.info/?l=fossil-users=144565832340627=2

But I don't think I've ever seen a definitive answer.

Thanks,

Andy
-- 
TAI64 timestamp: 4000568c251f


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