This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

local snippets' mirror

Social code snippet repository

local snippets' mirror

by pezetgee » Thu Apr 05, 2007 11:05 am

I'd like to mirror the snippets on my local server, ideally just the data.
Is there a way to do it?
pezetgee
Faithful Member
 
Posts: 734
Joined: Fri Mar 31, 2006 11:55 am

Re: local snippets' mirror

by COil » Thu Apr 05, 2007 11:30 am

You have a rss here,
http://www.symfony-project.com/snippets

But the best would be to have a dump of the database, that what i am doing between with house and at work, i just overwrite my home database.
COil
Faithful Member
 
Posts: 467
Joined: Wed Sep 06, 2006 6:08 pm

Re: local snippets' mirror

by pezetgee » Thu Apr 05, 2007 11:45 am

Yep, got the RSS on, this however pulls only the latest ones..

I was thinking more about getting just pure data and inserting it into my local snippet-type app.
It would be cool if snippets site had an API with data dump functionality...
pezetgee
Faithful Member
 
Posts: 734
Joined: Fri Mar 31, 2006 11:55 am

Re: local snippets' mirror

by halfer » Wed Apr 11, 2007 3:38 pm

You could always write a patch for snippet - perhaps a mechanism to sync changed items - and submit it to francois for *possible* inclusion?
halfer
Faithful Member
 
Posts: 10148
Joined: Mon Jan 30, 2006 1:16 pm
Location: West Midlands, UK

Re: local snippets' mirror

by pezetgee » Wed Apr 11, 2007 4:16 pm

that is an idea, will certainly look into that soon
pezetgee
Faithful Member
 
Posts: 734
Joined: Fri Mar 31, 2006 11:55 am