DVCS and a CSL Repo

So thinking about this more, we agree we want to version style files
so we can track state, roll back changes, etc.

If we were to go with git/hg/darcs as the basis of such a repo, we
have a couple of issues:

  1. how do we deal with user edits from the VC perspective?

It seems like we want a main repo, and every user gets a clone of that
main repo.

  1. how do we deal with identifying and accessing versions of a particular style?

Maybe we have a convention that says the current authoritative style
that is exposed to the world is a URI like:

http://citationstyles.org/styles/some-style

Every version of that style appends a checksum to the URI; e.g.:

http://citationstyles.org/styles/some-style/c180e9921f06c8b0258246aed3371701089d53d9

Not sure about this one, but throwing it out there.

Finally, on the user clones, every user edit inserts the user id after the base.

I don’t know; just some random thoughts while watching the news. I do
think this has some promise though.

Bruce

Also just throwing this out there… GitHub seems to have a fairly compete
API (http://develop.github.com/) which would allow citationstyles.org to
"appear" to be the home of the styles even if they were actually hosted on
github.

Ron.-----Original Message-----
From: Bruce D’Arcus [mailto:@Bruce_D_Arcus1]
Sent: August-21-10 7:31 PM
To: development discussion for xbiblio
Subject: [xbiblio-devel] DVCS and a CSL Repo

So thinking about this more, we agree we want to version style files
so we can track state, roll back changes, etc.

If we were to go with git/hg/darcs as the basis of such a repo, we
have a couple of issues:

  1. how do we deal with user edits from the VC perspective?

It seems like we want a main repo, and every user gets a clone of that
main repo.

  1. how do we deal with identifying and accessing versions of a particular
    style?

Maybe we have a convention that says the current authoritative style
that is exposed to the world is a URI like:

http://citationstyles.org/styles/some-style

Every version of that style appends a checksum to the URI; e.g.:

http://citationstyles.org/styles/some-style/c180e9921f06c8b0258246aed3371701
089d53d9

Not sure about this one, but throwing it out there.

Finally, on the user clones, every user edit inserts the user id after the
base.

I don’t know; just some random thoughts while watching the news. I do
think this has some promise though.

Bruce


Also just throwing this out there… GitHub seems to have a fairly compete
API (http://develop.github.com/) which would allow citationstyles.org to
“appear” to be the home of the styles even if they were actually hosted on
github.

Ron.

Just wondering, now that the idea has percolated for awhile, what
people think about basing CSL repos and distribution on one of the DVC
systems? Still seem like a promising idea worth exploring more?

Bruce

FYI, I’m now using github to host my blogs: http://directedgraph.net/
http://partiallyattended.com/ using github templates.

The cost for directing to my own domain is about 6$/month.

We could start a public github project at no cost to play with the
idea of hosting the repo there. If it worked out we could move it to a
custom domain.

  • Ian

FYI, I’m now using github to host my blogs: http://directedgraph.net/
http://partiallyattended.com/ using github templates.

I thought you hated git?

:wink:

The cost for directing to my own domain is about 6$/month.

We could start a public github project at no cost to play with the
idea of hosting the repo there. If it worked out we could move it to a
custom domain.

I like that idea!

Presumably it should also be easy enough to design it in such a way
that we could move it to other DVCS or to self-hosted service as well?
E.g. is there anything in particular in GitHub’s API that couldn’t
easily be recreated?

Bruce