Re: [fossil-users] clearing ignore-glob + OS inconsistency

2014-11-06 Thread Stephan Beal
On Thu, Nov 6, 2014 at 1:10 AM, E. Timothy Uy t...@loqu8.com wrote:

 fossil unset ignore-glob


fossil rm .fossil-settings/ignore-glob
rm .fossil-settings/ignore-glob
fossil commit -m 'removed ...'

might have worked as well.

-- 
- 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] fossil-users Digest, Vol 82, Issue 7

2014-11-06 Thread Chadwick Morris
 the only guaranteed byproduct of
 those who insist on a perfect world, freedom will have to do. -- Bigby
 Wolf
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.fossil-scm.org:8080/pipermail/fossil-users/attachments/20141106/018ce991/attachment-0001.html
 

 --

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


 End of fossil-users Digest, Vol 82, Issue 7
 ***

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


[fossil-users] Any other language bindings to Fossil?

2014-11-06 Thread Joe Prostko
Hello,

I know that libfossil is in progress, but has anybody been doing work that
involves doing Python or PHP bindings to Fossil (whether or not they are
utilizing libfossil or not)?

I'm asking since I have been starting to utilize Salt 
http://www.saltstack.com/ lately for work, and well, there's currently VCS
integration for Git, Hg, and SVN, but there's nothing there for Fossil.  I
think I could get a lot of the functionality working by calling the Fossil
binary directly from Python, but some things would be better suited by
interfacing with an existing library (like libfossil), or well, maybe even
a full reimplementation of Fossil in pure Python.

Has anybody done any work on interfaces between Fossil and other
programming languages, or is that something that still requires a lot of
work to be done?  I have looked at the supported libraries used in Salt for
Git integration, and each one has a different approach.  The one,
GitPython, indeed just interfaces with Git directly, another one, pygit2
(the preferred option), interfaces with the C library libgit2, and Dulwich
implements Git itself in pure Python.

In any case, any insights about what approach you would take would be
appreciated.  I think I'll probably just have to start implementing things
to see where I get tripped up without using anything resembling a dedicated
library, but I suspect that the fileserver backend capability is where I'll
start running into issues if I try calling the Fossil binary directly.

If anybody is curious, here is some information on gitfs as implemented on
Salt:

http://docs.saltstack.com/en/latest/topics/tutorials/gitfs.html


Thanks for any insights about existing or work-in-progress language
interfaces to Fossil, as well as any other advice.

If somebody else has started work on integrating Fossil into Salt, that
would be good to know as well.  :)

- joe
___
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] Any other language bindings to Fossil?

2014-11-06 Thread Stephan Beal
On Thu, Nov 6, 2014 at 9:13 PM, Joe Prostko joe.pros...@gmail.com wrote:

 Has anybody done any work on interfaces between Fossil and other
 programming languages, or is that something that still requires a lot of
 work to be done?


As you probably already know, but here it is for those who don't:

https://docs.google.com/document/d/13gRSl6-bj3LV-OKgE-BsqvqF33UFYW3oa3A2OJC5QSY/view


-- 
- 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] Any other language bindings to Fossil?

2014-11-06 Thread Joe Prostko
On Thu, Nov 6, 2014 at 3:29 PM, Stephan Beal sgb...@googlemail.com wrote:

 On Thu, Nov 6, 2014 at 9:13 PM, Joe Prostko joe.pros...@gmail.com wrote:

 Has anybody done any work on interfaces between Fossil and other
programming languages, or is that something that still requires a lot of
work to be done?


 As you probably already know, but here it is for those who don't:


https://docs.google.com/document/d/13gRSl6-bj3LV-OKgE-BsqvqF33UFYW3oa3A2OJC5QSY/view

I can't view this at work since Google docs is blocked, but I assume you
are talking about s2?  I guess worst case I can try to port s2 to Python
or the like, although I suspect that will be a bit of work.  I guess
anything worthwhile takes work though.  :)

Thanks for the input, as it may very well help me, as well as inform others!

- joe
___
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] Any other language bindings to Fossil?

2014-11-06 Thread Ron W
On Thu, Nov 6, 2014 at 3:35 PM, Joe Prostko joe.pros...@gmail.com wrote:

 On Thu, Nov 6, 2014 at 3:29 PM, Stephan Beal sgb...@googlemail.com
 wrote:
  As you probably already know, but here it is for those who don't:
 
 
 https://docs.google.com/document/d/13gRSl6-bj3LV-OKgE-BsqvqF33UFYW3oa3A2OJC5QSY/view

 I can't view this at work since Google docs is blocked, but I assume you
 are talking about s2?  I guess worst case I can try to port s2 to Python
 or the like, although I suspect that will be a bit of work.  I guess
 anything worthwhile takes work though.  :)


You should not need to port s2 to Python, rather reference the s2 bindings
to libfossil as an example.

I am considering doing a Perl binding to libfossil, probably using h2xs to
generate the low level type mapping, then writing a thin layer of Perl
code to present a more Perl-ish interface as well as perform exception
handling.
___
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] Any other language bindings to Fossil?

2014-11-06 Thread Joe Prostko
On Thu, Nov 6, 2014 at 4:10 PM, Ron W ronw.m...@gmail.com wrote:

 You should not need to port s2 to Python, rather reference the s2
bindings to libfossil as an example.

Yeah, that is why I put `port` in quotes in my last response.  I probably
should have just stated what I actually meant instead.  :)

 I am considering doing a Perl binding to libfossil, probably using h2xs
to generate the low level type mapping, then writing a thin layer of Perl
code to present a more Perl-ish interface as well as perform exception
handling.

Very cool.  I guess if nobody else speaks up, I may have to take a crack at
a Python binding to libfossil.  Like I mentioned, I want to see what I can
accomplish without doing that though, as perhaps I won't have to do a whole
lot in order to have a suitable solution for Fossil integration in Salt.

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


[fossil-users] Newbie question

2014-11-06 Thread jose isaias cabrera


Greetings!

First of all, I want to thank you whomever was the creator of this wonderful 
utility.  Props to you.


I have a setup on my Windows PC where I have many sources of various 
languages.  That will be another question later, but today, I have a 
project, which I created a repo for it, but I have libraries somewhere else. 
Imagine this scenario:


Project lives on: c:\sources\d\MyProject\MyProject.d
Libraries used by this project live on: c:\D\import
 
\my\lib\aaa.d
 
\my\lib\bbb.d
 
\my\lib\ccc.d
 
\my\lib\ddd.d
 
\my\lib\eee.d
 
\my\lib\fff.d
 
\other0\lib\aaa.d
 
\other1\lib\aaa.d

The problem is that when I make changes to the to the 
c:\sources\d\MyProject\MyProject.d everything is fine I get the new version 
etc.  But, when I make changes in c:\D\Import, the changes are not being 
checked in.  I know I can open another repo and keep track of them like 
that, but is there another way where I can point to another directory and 
still use the repo for c:\sources\d\MyProject\MyProject.d?  I hope I was 
clear enough.  Thanks.


josé 


___
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] Newbie question

2014-11-06 Thread B Harder
On 11/6/14, jose isaias cabrera jic...@cinops.xerox.com wrote:

 Greetings!

 First of all, I want to thank you whomever was the creator of this wonderful

 utility.  Props to you.

That'd be drh (Richard Hipp) and a collection of contributors.


 I have a setup on my Windows PC where I have many sources of various
 languages.  That will be another question later, but today, I have a
 project, which I created a repo for it, but I have libraries somewhere else.

 Imagine this scenario:

 Project lives on: c:\sources\d\MyProject\MyProject.d
 Libraries used by this project live on: c:\D\import

 \my\lib\aaa.d

 \my\lib\bbb.d

 \my\lib\ccc.d

 \my\lib\ddd.d

 \my\lib\eee.d

 \my\lib\fff.d

 \other0\lib\aaa.d

 \other1\lib\aaa.d

 The problem is that when I make changes to the to the
 c:\sources\d\MyProject\MyProject.d everything is fine I get the new version
  etc.

Yes, because those files are in the repositorys working directory...

 But, when I make changes in c:\D\Import, the changes are not being
 checked in.

Because these are not known to the repository, and are definitely
outside the scope of it's working directory hierarchy.

 I know I can open another repo and keep track of them like
 that, but is there another way where I can point to another directory and
 still use the repo for c:\sources\d\MyProject\MyProject.d?

You need to get that ./D/* under the umbrella of the top-level of your
working directory. You could move it there, and run it from there.
That could be problematic if that lib/code is shared among people or
projects. If you don't _move_ it there, you could make copies of it.
Obviously storing this code twice will increase your storage
requirements (although, as I type this, if you're using a filesystem
like ZFS w/ de-dupe capabilities, this might not necessarily be true,
but I digress...). I do this (copying code) for projects of mine that
depend on third party libraries... when a release of the third-party
code is released, I'll update my local copy too. This is nice for a
couple reasons:

1) You build against code you know (ie: your project-local copy)
2) You have that code in your repo -- so in the future if you can't
find libxyz-1.1.9 from the vendor, you might have your own copy of
what you care about
3) Having the code in-scope as far as a project goes means it's
simple(r) to browse it's functions, #defines, etc during the course of
 your development.



 I hope I was
 clear enough.  Thanks.

Hope I understood clearly, and this helps.

-bch

 josé

 ___
 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] Newbie question

2014-11-06 Thread jose isaias cabrera

B Harder wrote...


On 11/6/14, jose isaias cabrera jic...@cinops.xerox.com wrote:


Greetings!

First of all, I want to thank you whomever was the creator of this 
wonderful


utility.  Props to you.


That'd be drh (Richard Hipp) and a collection of contributors.

Wow!  Dr. Hipp is just full of goodies. :-)


You need to get that ./D/* under the umbrella of the top-level of your
working directory. You could move it there, and run it from there.

Thanks.


I hope I was
clear enough.  Thanks.


Hope I understood clearly, and this helps.


thanks. 


___
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] Newbie question

2014-11-06 Thread Tony Papadimitriou
The way I solve this problem is to keep a repo of all projects that share 
the same libraries together.  This creates some other minor problems (that 
were recently made less of a problem with the -p option enhancement of the 
TIMELINE command.)  But, I think this is the only reasonable way.


There is also another possibility.  Under Windows, you can use the MKLINK 
command to create a directory junction under your project (each project). 
This way you can keep the tree structure you have, keep a single copy of 
your libraries, but make it appear as if each project has its own copy. 
FOSSIL will treat this as a normal directory, meaning that if you open the 
repo somewhere else (where the junction does not exist), you will get a copy 
of you library.


One potential problem with this approach is that, even though there is a 
single copy of the library, each project thinks it has a private copy.  So, 
making library changes for the sake of one project have to be propagates to 
all other repos using the same library in their projects.


Tony
-Original Message- 
From: jose isaias cabrera

Sent: Friday, November 07, 2014 12:32 AM
To: fossil-users@lists.fossil-scm.org
Subject: [fossil-users] Newbie question


Greetings!

First of all, I want to thank you whomever was the creator of this wonderful
utility.  Props to you.

I have a setup on my Windows PC where I have many sources of various
languages.  That will be another question later, but today, I have a
project, which I created a repo for it, but I have libraries somewhere else.
Imagine this scenario:

Project lives on: c:\sources\d\MyProject\MyProject.d
Libraries used by this project live on: c:\D\import
 
\my\lib\aaa.d
 
\my\lib\bbb.d
 
\my\lib\ccc.d
 
\my\lib\ddd.d
 
\my\lib\eee.d
 
\my\lib\fff.d
 
\other0\lib\aaa.d
 
\other1\lib\aaa.d

The problem is that when I make changes to the to the
c:\sources\d\MyProject\MyProject.d everything is fine I get the new version
etc.  But, when I make changes in c:\D\Import, the changes are not being
checked in.  I know I can open another repo and keep track of them like
that, but is there another way where I can point to another directory and
still use the repo for c:\sources\d\MyProject\MyProject.d?  I hope I was
clear enough.  Thanks.

josé

___
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