egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

incith:svn (log fetching + discussion of svn.incith.com)

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Wed Jan 14, 2009 12:59 am    Post subject: incith:svn (log fetching + discussion of svn.incith.com) Reply with quote

Newest scripts are available at... http://svn.incith.com Cool

I know I'm posting too many random scripts lately (well, kind of random), I recently setup an svn/subversion server and wanted to create a place to discuss this a bit, as well as a script I'm working on to query subversion servers. The reason for the subversion server is just as I said, because I've been releasing and having to post too much crap lately. This way, anyone, at any time, can choose to check and update their copy of whatever.

The Script: In the end, the script will monitor repos (via bind time) and notify the configured channels when a commit happens. It does this now but it's all hard coded and unconfigurable by variables at the moment as I continue to work on it.
Quote:
(21:40:17) <@visitant> r52 committed to svn://svn.incith.com/incith by incith: incith-svn: can now \!svn <url>, script still in a very alpha state

(22:25:31) <@incith> !svn irssi
(22:25:37) <@visitant> r4983 committed to http://svn.irssi.org/repos/irssi/trunk by exg: Fix last change.

The Repository: You can checkout my repo (which will be undergoing some changes in the days/weeks to come, I haven't finalised a layout idea yet -- also there is no actual reason to check it out yet all in all as there is nothing new done to the scripts, just some initial imports, pisg/egghelp/svn might get some changes on here before release). Use one of the follow URLs to checkout:This will download all the svn'd scripts into a "trunk" folder. Then you can go do an svn update inside the trunk folder whenever you want to check for updates, or svn log -l1 or svn log -rhead to see the latest log entry.

The SVN Book (FREE)
is a very good read, after the first 100-120 pages (won't take long) you should be fairly confident with subversion and how to use it, and I would probably trust you on my repository after you've read it (assuming you do some experiments and things first, I will make a test repository if anyone wants to play around). I'm just learning for the most part too, but I've found it incredibly easy and helpful in a lot of ways, especially svn revert to undo some previous edits (I mostly edit with nano. Yep.)

Windows users, the de-facto SVN client is basically Tortoise SVN. It is quite easy to use and you'll be checking out the latest scripts in no time. The repository URL you should use is: svn://svn.incith.com/incith -- you can also just browse them via http if you want and download that way if you don't plan to do anything else, via http://svn.incith.com

I know this is overkill. But it's also fun, and I'd be happy to allow others (whom I have beforehand talked with) access to commit to the repo if anyone is interested. It would be rather cool I think to have commits by various people, anyone being able to fix bugs now and then or etc. With this in place, people can request bug fixes and etc to anyone with commit access. I plan to have the standard 'branches' folder so other scripters can post any big modifications/changes they've done, e.g. speechles incith:google I plan to add as a branch to incith:google. Basically I hope all of this helps the community in the end, and for the scripters to be able to collaborate a bit easier.

Of course I am always on IRC to talk/help any further with this.

View/download: http://svn.incith.com/index/incith/trunk/incith-svn.tcl

(I'll clean this thread up at some point and add any additional useful SVN information if it turns out to become popular)
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
Kein
Voice


Joined: 09 Apr 2008
Posts: 21

PostPosted: Sun Sep 27, 2009 4:54 pm    Post subject: Reply with quote

I didn't look into code yet, but well... how often it check for changes? And what if there will be like few commits at the same time (1-2 sec delay between them)?
_________________
I'm too lazy for all of this
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber