[siren-user] NumericRangeQuery in Siren...?
Renaud Delbru
renaud.delbru at deri.org
Tue Dec 14 17:39:12 GMT 2010
Hi Tamas,
On 14/12/10 17:01, Tamás Cservenák wrote:
> Hi Renaud,
>
> here is a sample transcript you can follow:
>
> Preparation: register on github (my username is "cstamas"), and create
> a repo (I created https://github.com/cstamas/spice-timeline in this
> example), and note down it's rw GIT url (in my case it is
> git at github.com:cstamas/spice-timeline.git) shown when you browse to
> repository.
>
> https://svn.sonatype.org/spice/trunk/spice-timeline/ is Sonatype's OSS
> "shared components" repository, but I could use any "closed" reposes
> too. On /spice-timeline there is a subproject I wanted to share on github.
>
> ==== SNIP ====
> cstamas at marvin ~$ cd tmp/
> cstamas at marvin tmp$ mkdir renaud-sync-example
> cstamas at marvin tmp$ cd renaud-sync-example/
> cstamas at marvin renaud-sync-example$ l
> total 0
> drwxr-xr-x 2 cstamas staff 68 Dec 14 17:50 .
> drwxr-xr-x 114 cstamas staff 3876 Dec 14 17:50 ..
> cstamas at marvin renaud-sync-example$ git svn init
> https://svn.sonatype.org/spice/trunk/spice-timeline/
> Initialized empty Git repository in
> /Users/cstamas/tmp/renaud-sync-example/.git/
> cstamas at marvin renaud-sync-example$ git svn fetch --log-window-size 10000
> Asrc/main/java/org/sonatype/timeline/Timeline.java
> Asrc/main/java/org/sonatype/timeline/TimelineFilter.java
> Apom.xml
> W: +empty_dir: src/main/resources
> W: +empty_dir: src/test/java
> W: +empty_dir: src/test/resources
> r1153 = 8a0510bcfcd1945a6ea2b1376ee4776b578d531a (refs/remotes/git-svn)
> Mpom.xml
> ..... lot of "fetch" messages, Git is pulling SVN revisions
> Msrc/main/java/org/sonatype/timeline/Timeline.java
> Msrc/main/java/org/sonatype/timeline/DefaultTimelineIndexer.java
> Msrc/main/java/org/sonatype/timeline/DefaultTimeline.java
> Mpom.xml
> r2955 = 27e085eb0034e10bcac5822fe39c02a4b38c2312 (refs/remotes/git-svn)
> Checked out HEAD:
> https://svn.sonatype.org/spice/trunk/spice-timeline r2955
> cstamas at marvin renaud-sync-example$ git remote add origin
> git at github.com:cstamas/spice-timeline.git
> cstamas at marvin renaud-sync-example$ git push origin master
> Counting objects: 702, done.
> Delta compression using up to 2 threads.
> Compressing objects: 100% (497/497), done.
> Writing objects: 100% (702/702), 136.26 KiB, done.
> Total 702 (delta 223), reused 0 (delta 0)
> To git at github.com:cstamas/spice-timeline.git
> * [new branch] master -> master
> cstamas at marvin renaud-sync-example$
>
> Done!
>
> Then, from time to time, just go into directory and do (pull from SVN
> and push to Git):
>
> cstamas at marvin renaud-sync-example$ git svn rebase
> Current branch master is up to date.
> cstamas at marvin renaud-sync-example$ git push
> Everything up-to-date
> cstamas at marvin renaud-sync-example$
Thanks a lot for the extensive explanation and example ;o).
I'll try to make a test in the next week. I'll let you know if I am
successful.
>
> Note: Usual Mailman annoyance, please fix the "reply-to" header in
> Mailman's list config (default is used it seems), since replies like
> this goes to sender/person, off-list, and responses are not archived
> neither received by other mailing list members.
Should be solved by now.
Cheers
--
Renaud Delbru
More information about the siren
mailing list