This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

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

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
incith
Master
Posts: 275
Joined: Sat Apr 23, 2005 2:16 am
Location: Canada

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

Post by incith »

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

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.
(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:
  • svn co svn://svn.incith.com/incith/trunk
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)
K
Kein
Voice
Posts: 21
Joined: Wed Apr 09, 2008 9:57 pm

Post by Kein »

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
Post Reply