[fossil-users] fossil push doesn't show up on the server

2012-05-07 Thread Pascal J. Bourguignon


[pjb@kuiper :0 patchwork]$ fossil push
Server:http://fossil.informatimago.com:8002/patchwork
Bytes  Cards  Artifacts Deltas
Sent: 268  4  0  0
Error: not authorized to write
Received:  65  1  0  0
Total network traffic: 386 bytes sent, 276 bytes received
[pjb@kuiper :0 patchwork]$ fossil pull
Server:http://fossil.informatimago.com:8002/patchwork
Bytes  Cards  Artifacts Deltas
Sent: 146  2  0  0
Received:  78  2  0  0
Total network traffic: 324 bytes sent, 285 bytes received
[pjb@kuiper :0 patchwork]$ fossil push
Server:http://fossil.informatimago.com:8002/patchwork
Bytes  Cards  Artifacts Deltas
Sent: 268  4  0  0
Error: not authorized to write
Received:  65  1  0  0
Total network traffic: 387 bytes sent, 276 bytes received
[pjb@kuiper :0 patchwork]$ fossil status
repository:   /home/pjb/works/patchwork/patchwork/../patchwork.fossil
local-root:   /home/pjb/works/patchwork/patchwork/
checkout: 6d88e9d9e206b3fe641e3050c1c321e0e98e0872 2012-05-07 15:00:19 UTC
parent:   19efd2e28b33dd1acd93f603bd0c95edb1b42b27 2012-05-07 14:11:19 UTC
tags: trunk
comment:  Added Makefile. (user: pjb)
[pjb@kuiper :0 patchwork]$ fossil timeline
=== 2012-05-07 ===
15:00:19 [6d88e9d9e2] *CURRENT* Added Makefile. (user: pjb tags: trunk)
14:46:48 [13d579f58a] Changes to wiki page [PatchWork/MacOSX] (user: pjb)
14:45:24 [4a7ddd781d] Changes to wiki page [PatchWork/MacOSX] (user: pjb)
14:45:00 [52a205b51a] Changes to wiki page [PatchWork/MacOSX] (user: pjb)
14:44:34 [2c5ba740a6] Changes to wiki page [PatchWork/MacOSX] (user: pjb)


But when I clone and open http://fossil.informatimago.com:8002/patchwork
or just watch it on the web server,  the last commit doesn't appear:

[pjb@kuiper :0 p]$ fossil status
repository:   /tmp/p/../patchwork.fossil
local-root:   /tmp/p/
checkout: 19efd2e28b33dd1acd93f603bd0c95edb1b42b27 2012-05-07 14:11:19 UTC
parent:   cba26aa1935252fbf017d2bf4e7d96d5ca447a66 2012-05-07 14:11:09 UTC
tags: trunk
comment:  Changed license to GPL3; added header comments. (user: pjb)


What's wrong?  What should I do to push my commits?

-- 
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
___
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] fossil push doesn't show up on the server

2012-05-07 Thread James Turner
On Mon, May 07, 2012 at 06:23:53PM +0200, Pascal J. Bourguignon wrote:
 What's wrong?  What should I do to push my commits?


Your answer is in the output of your failed fossil push:

Error: not authorized to write

-- 
James Turner
ja...@calminferno.net
___
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] fossil push doesn't show up on the server

2012-05-07 Thread Pascal J. Bourguignon
James Turner ja...@calminferno.net writes:

 On Mon, May 07, 2012 at 06:23:53PM +0200, Pascal J. Bourguignon wrote:
 What's wrong?  What should I do to push my commits?


 Your answer is in the output of your failed fossil push:

 Error: not authorized to write

Why am I not?

I created the remote by copying it with scp from a local repo I was
obviously authorized to modify.

I can login on the remote web with my usual login/password.

I re-cloned the local from the remote.


-- 
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
___
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] fossil push doesn't show up on the server

2012-05-07 Thread Stephan Beal
On Mon, May 7, 2012 at 7:02 PM, Pascal J. Bourguignon p...@informatimago.com
 wrote:

 I re-cloned the local from the remote.


When you cloned it, did you add username:password to the URL? If not, try
cloning with that. It doesn't look like you did because the Server: line
does not show your name, like this:

stephan@tiny:~/cvs/fossil/cpdo$ f push
Server:http://step...@fossil.wanderinghorse.net/repos/cpdo/index.cgi
Bytes  Cards  Artifacts Deltas
Sent: 636 12  0  0
Received:  32  1  0  0
Total network traffic: 640 bytes sent, 286 bytes received


-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
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] fossil push doesn't show up on the server

2012-05-07 Thread Matt Welland
I think this is a good illustration of how noisy output makes it hard for
new users to see problems occurring. I would prefer to see most of the sync
output suppressed unless a verbose switch is flipped. Most of the time
people really only need to know that the sync succeeded or failed. At the
very least make the error messages stand out more with an all upper case
ERROR:  prefix.

On Mon, May 7, 2012 at 9:29 AM, James Turner ja...@calminferno.net wrote:

 On Mon, May 07, 2012 at 06:23:53PM +0200, Pascal J. Bourguignon wrote:
  What's wrong?  What should I do to push my commits?


 Your answer is in the output of your failed fossil push:

 Error: not authorized to write

 --
 James Turner
 ja...@calminferno.net
 ___
 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] fossil push doesn't show up on the server

2012-05-07 Thread Pascal J. Bourguignon
Stephan Beal sgb...@googlemail.com writes:

 On Mon, May 7, 2012 at 7:02 PM, Pascal J. Bourguignon 
 p...@informatimago.com wrote:

 I re-cloned the local from the remote.

 When you cloned it, did you add username:password to the URL? If not,
 try cloning with that. It doesn't look like you did because the
 Server: line does not show your name, like this:

No, indeed, I did not.

It works better if I clone it adding the user:password to the url.
Thank you.


-- 
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
___
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] fossil push doesn't show up on the server

2012-05-07 Thread Pascal J. Bourguignon
Matt Welland estifo...@gmail.com writes:

 I think this is a good illustration of how noisy output makes it hard
 for new users to see problems occurring. I would prefer to see most of
 the sync output suppressed unless a verbose switch is flipped.  Most
 of the time people really only need to know that the sync succeeded or
 failed. At the very least make the error messages stand out more with
 an all upper case ERROR:  prefix.

Definitely.

Also it's better of the error message is last in the output.



And in the case of cloning without a user:password, it might be good to
issue a warning that an anonymous clone has been done.

Alternatively, there could be a way to change the remote user:password
after cloning.

-- 
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users