On Sat, Dec 24, 2011 at 1:29 PM, Robert Levy <r.p....@gmail.com> wrote:There's quite a few steps - I'm attempting to distil them into a wiki
> In addition to 3rd-party libs there are also more fka-contrib libs that
> should probably be upgraded
> (see http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go) and
> it might be good to discuss those too. By the way, I signed a contributor
> agreement recently, and there are a few libraries from contrib I would like
> to upgrade. A couple that come to mind are graph -> algo.graph and prxml ->
> data.prxml. How would I go about that? Would I just create the repo and
> then someone would fork it into the Clojure github group?
page so this is a good opportunity to list what I've got so far to get
some input.
You've got your CA on file and you're listed on
http://clojure.org/contributing - that's steps 1 & 2.
Are you on the clojure-dev mailing list? That's step 3 and that's
where implementation discussions typically happen.
You'll also need accounts on JIRA and Confluence (in theory if you
sign up for one, it creates your account on both but that doesn't seem
to happen reliably).
If Clojure/dev think it's a good idea to promote those contrib modules
to new contrib libraries, Clojure/core has to approve the new
namespaces and JIRA project names need to be agreed.
* Then Clojure/core create the new github repo:
** Project Name: {namespace} ; new namespace without "clojure." prefix
** Description: {description} ; description of library (either from
original or new, improved description)
** Team: Contrib Commit
** Add Post-Receive URL Service Hook:
http://infolace.dnsalias.net:8080/github-post (for autodoc)
** Disable Issues tab
* Then Clojure/core create the new JIRA project:
** Name: {namespace}
** Key: {projectname} ; uppercase, shortened version of namespace
** Project Lead: {username} ; this is why you need a JIRA account
* Then someone in the Contrib Commit team will update ci_data.clj (in
build.ci) with the new project details.
** Often this is Stuart Sierra but anyone with appropriate commit
permission can do this
* Then someone with build admin permissions:
** Creates a user account on Hudson (if needed; and sends you login details)
** Run the build.ci Hudson job
** Force Hudson to reload its configuration files
* At this point you can git clone the new clojure/{namespace} repo and:
** Migrate the old code across into the new Maven-based structure
** Add pom.xml (based off any of the new contrib projects) updated for
this project
** Ensure the unit tests pass on Clojure 1.2.1, Clojure 1.3.0 and
Clojure 1.4.0-master-SNAPSHOT
*** If there are no unit tests, please write some!
** Commit & Push
Hudson will automatically run matrix tests after a short period - or
you can login to build.clojure.org and force a build to run.
Once the tests pass, you can login to build.clojure.org and perform a
Maven release of your new contrib library. We don't seem to have
completely settled on versioning but most libraries start at 0.0.1 and
move to 0.1.0 for their first significant updated release. A 1.0.0
release requires review and approval by Clojure/core and they'll
usually have quite a few recommendations and/or changes required
before 1.0.0 is approved. In particular, pay attention to
http://dev.clojure.org/display/design/Library+Coding+Standards and
http://dev.clojure.org/display/doc/Guidelines+for+Clojure+Contrib+committers
Please also let me (Sean) know your JIRA username as well as when you
have running builds and the first Maven release so I can update
http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go and
http://dev.clojure.org/display/doc/Clojure+Contrib
If folks think this process description is accurate and comprehensive,
I'll create a wiki page based on it!
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
You received this message because you are subscribed to the Google Groups "Clojure Dev" group.
To post to this group, send email to cloju...@googlegroups.com.
To unsubscribe from this group, send email to clojure-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/clojure-dev?hl=en.
Best to change it back to -SNAPSHOT, commit & push, then go to
build.clojure.org (and login) then drill into data.xml and you should
see Perform Maven Release in the left hand menu. If you don't, you
don't have permission to run a build. Someone would need to update
build.ci's data file and force Hudson to reload its config to change
that.
Looking in ci_data.clj, data.xml doesn't have an owner yet:
{:name "data.xml"
:owners []}
Any contrib committer can update that (looks like your Hudson name is
"Alan Malloy"?) but it takes an admin to rebuild Hudson's config for
it to take effect.
> Should I make a commit to change the version number back, or just
> rewrite history so that the version number never changed?
Not sure what policy is on that. I suspect that the 0.0.1 version has
escaped to sonatype's snapshot repo by now... not sure what the
implications of that are...
We need input from one of the Clojure/core folks that manage Hudson
etc... Stuart S?
Ryan Senior has been working on an adjustment to data.xml that will
clean this up, requiring just a single module, as he described here:
https://groups.google.com/group/clojure-dev/msg/370c1014db6a4639
I think he's ready to start checking in this work, but it'd be easier
if he could commit to the repo directly. What is the process for him
to get commit access?
--Chouser
What's the status on this? I'd really love to have a data.xml release.
Allen
--
You received this message because you are subscribed to the Google Groups "Clojure Dev" group.
java.lang.RuntimeException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,11]Message: XML document structures must start and end within the same entity.
The default assignee does NOT have ASSIGNABLE permission OR Unassigned issues are turned off.
I have the new code in the repo (https://github.com/clojure/data.xml) but it's not building on the CI server (I talk about the issue here: http://groups.google.com/group/clojure-dev/browse_thread/thread/67ec2b453714b3a5?hl=en). That needs to get resolved before it can be released.If you're interested in trying it out before I get this resolved, and you have Maven installed, you can clone the git repo and run 'mvn install'. This should put the 0.0.3-SNAPSHOT version of data.xml in your local maven repository.Once you have the JAR in your Maven repo, the examples in the README are probably the best way to get started.
-Ryan
On Thu, Feb 2, 2012 at 8:23 PM, Allen Rohner wrote:
What's the status on this? I'd really love to have a data.xml release.
Allen
--
You received this message because you are subscribed to the Google Groups "Clojure Dev" group.
To post to this group, send email to cloju...@googlegroups.com.
To unsubscribe from this group, send email to clojure-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/clojure-dev/-/UwGQMOdsFk4J.
To unsubscribe from this group, send email to clojure-dev...@googlegroups.com.