Re: [CentOS] Web based file versioning frontend

2011-05-23 Thread Thomas Harold
On 5/20/2011 4:00 PM, Les Mikesell wrote:
> On 5/20/11 1:16 PM, Joseph L. Casale wrote:
>>> Git and Gitweb?
>>
>> Thought of that, is there anything that can monitor for changes so I can
>> avoid a commit command for every script, as they all dump to an already
>> well organized tree, I was hoping to monitor the top level dir for changes
>> and have it commit as they appear.
>>
>> Something like that exist?
>
> It seems like you are approaching this backwards - whatever originates the
> changes should commit, and perhaps replace the rsyncs with updates at the 
> other
> location(s).   But, if you use subversion, it is smart enough to only commit
> actual differences so it wouldn't hurt to just schedule a fairly frequent 
> commit
> at the top level.  If nothing changed, the commit has no effect.  The down 
> side
> is that subversion wants a complete hidden copy under .svn in every 
> subdirectory
> so the client can detect changes without contacting the repository.  Viewvc 
> is a
> good web server companion for subversion to easily browse revisions and do
> color-coded diffs.
>

FSVS gets rid of the .svn issue and still stores the files in a SVN 
repository.  Run it once to see if it detects any changes, then run it 
again to actually do the automated commit.  That lets you schedule it to 
run every 10-20 minutes, but it won't create a bunch of empty "nothing 
changed" commits.

(I make heavy use of FSVS to keep track of config file changes and other 
config changes made to the server.  Helps when trying to figure out what 
has changed on the server.)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web based file versioning frontend

2011-05-20 Thread Les Mikesell
On 5/20/11 1:16 PM, Joseph L. Casale wrote:
>> Git and Gitweb?
>
> Thought of that, is there anything that can monitor for changes so I can
> avoid a commit command for every script, as they all dump to an already
> well organized tree, I was hoping to monitor the top level dir for changes
> and have it commit as they appear.
>
> Something like that exist?

It seems like you are approaching this backwards - whatever originates the 
changes should commit, and perhaps replace the rsyncs with updates at the other 
location(s).   But, if you use subversion, it is smart enough to only commit 
actual differences so it wouldn't hurt to just schedule a fairly frequent 
commit 
at the top level.  If nothing changed, the commit has no effect.  The down side 
is that subversion wants a complete hidden copy under .svn in every 
subdirectory 
so the client can detect changes without contacting the repository.  Viewvc is 
a 
good web server companion for subversion to easily browse revisions and do 
color-coded diffs.

-- 
   Les Mikesell
lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web based file versioning frontend

2011-05-20 Thread Steven Crothers
You could perhaps start your search surrounding inotify type monitors
and tie them into some auto-commit...

Something like what you're doing may run the realm of custom coding.

Sorry I can't be of more help.

On Fri, May 20, 2011 at 2:16 PM, Joseph L. Casale
 wrote:
>>Git and Gitweb?
>
> Thought of that, is there anything that can monitor for changes so I can
> avoid a commit command for every script, as they all dump to an already
> well organized tree, I was hoping to monitor the top level dir for changes
> and have it commit as they appear.
>
> Something like that exist?
>
> Thanks!
> jlc
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web based file versioning frontend

2011-05-20 Thread Joseph L. Casale
>Git and Gitweb?

Thought of that, is there anything that can monitor for changes so I can
avoid a commit command for every script, as they all dump to an already
well organized tree, I was hoping to monitor the top level dir for changes
and have it commit as they appear.

Something like that exist?

Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web based file versioning frontend

2011-05-20 Thread Steven Crothers
Git and Gitweb?

On Fri, May 20, 2011 at 12:22 PM, Joseph L. Casale
 wrote:
> Hey guys,
> Need an opinion on what to use for file versioning text conf files that get 
> updated by
> scheduled rsync's etc. Need something that can watch the file, so it doesn't 
> need an
> explicit checkin, and can be diffed by a web front end.
>
> I haven't any preference on backend either.
>
> Thanks for any suggestions,
> jlc
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Web based file versioning frontend

2011-05-20 Thread Joseph L. Casale
Hey guys,
Need an opinion on what to use for file versioning text conf files that get 
updated by
scheduled rsync's etc. Need something that can watch the file, so it doesn't 
need an
explicit checkin, and can be diffed by a web front end.

I haven't any preference on backend either.

Thanks for any suggestions,
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos