clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
meow 2016-01-13T13:31:48.000388Z

how are things going here

meow 2016-01-13T13:32:08.000389Z

what do we need to do to provide better support for #C0H28NMAS

2016-01-13T14:29:43.000390Z

@meow: howdy! What we need most atm is PRs for issues. we've been given plenty of money, but don't have time to fix everything that needs fixing

meow 2016-01-13T14:30:17.000391Z

really

meow 2016-01-13T14:30:20.000392Z

hrm

meow 2016-01-13T14:30:43.000393Z

tell me more

meow 2016-01-13T14:30:59.000394Z

so I can get on that and find some help

2016-01-13T14:52:15.000395Z

we have a list of issues "ready for work" at https://github.com/clojars/clojars-web/labels/ready

2016-01-13T14:53:08.000397Z

there are probably a few more that have come in recently that should be tagged with :ready as well

meow 2016-01-13T15:00:18.000398Z

ok, I will review them to see if I can think of how to get volunteers to help with them

2016-01-13T15:01:50.000399Z

great, thanks!

2016-01-13T15:02:13.000400Z

sorry for the quick responses, I'm just swamped with work stuff atm.

meow 2016-01-13T15:03:18.000401Z

I understand

micha 2016-01-13T15:55:26.000402Z

@meow: i want to work on a tool that can detect and fix broken maven metadata xml files

micha 2016-01-13T15:55:52.000403Z

this is needed before atomic commits can be implemented

meow 2016-01-13T15:55:59.000404Z

ok

meow 2016-01-13T15:56:57.000405Z

so what do we need - some kind of parse of xml that can handle misformed xml or something

meow 2016-01-13T15:57:41.000406Z

something that validates maven metadata xml or more generic

micha 2016-01-13T15:57:48.000407Z

it has to do with what happens on partial commits

micha 2016-01-13T15:58:08.000408Z

like when you push a release to the repo there are multiple artifacts that need to be uploaded

micha 2016-01-13T15:58:35.000409Z

foo-1.2.3.pom, foo-1.2.3.pom.asc, foo-1.2.3.jar, etc

micha 2016-01-13T15:58:52.000410Z

and it's possible that something fails before uploading all of them

micha 2016-01-13T15:59:46.000411Z

there is a metadata file that describes all the versions, which can get out of sync with the actual files in the repo

micha 2016-01-13T16:00:23.000412Z

so currently you can download jars from repos that don't have those versions listed in the metadata.xml file

micha 2016-01-13T16:00:46.000413Z

because the jars made it into the repo but the metadata didn't

micha 2016-01-13T16:01:31.000414Z

the idea for atomic deploys, as i understand it, is to use the metadata.xml file to commit a transaction

micha 2016-01-13T16:01:55.000415Z

so the release won't be live until all artifacts have been uploaded and verified according to metadata.xml

meow 2016-01-13T16:51:57.000416Z

atomic commits is the goal then

meow 2016-01-13T16:53:24.000417Z

metadata.xml is needed to commit an atomic transaction

meow 2016-01-13T16:56:07.000418Z

clarify for me: isn't a metadata file referencing versions that are out of sync a problem independent of atomic commits?

meow 2016-01-13T16:56:47.000419Z

and a missing metadata.xml file is the ultimate in borken

meow 2016-01-13T16:59:05.000420Z

@micha: how would you like to proceed? what's the first step? what can I do to help?

gjnoonan 2016-01-13T17:22:57.000422Z

Hey all

meow 2016-01-13T17:29:48.000423Z

hey

2016-01-13T18:16:37.000424Z

@meow: correct - bad metadata is its own problem, but needs to be fixed before atomic deploys can be implemented

meow 2016-01-13T18:43:06.000425Z

gotcha

meow 2016-01-13T20:31:34.000428Z

@jonahbenton: any suggestions?

2016-01-13T20:57:04.000430Z

sounds like @micha has the right of it. for problems like this i like approaches like https://github.com/clojars/clojars-web/issues/226#issuecomment-142270596. having the same tool be able to handle an atomic move from a dmz-like upload area to the canonical coordinates, as well as be able to validate/clean/fix artifacts within the canonical tree, probably makes sense. the plan is to continue to keep the repo on a file system?

2016-01-13T21:19:42.000432Z

@jonahbenton: the plan is to move the repo off to a cloud file store in the near future

2016-01-13T21:19:51.000433Z

but that could be the last step in the verify pipeline

2016-01-13T21:23:16.000434Z

@tcrawley: cool. so a tool that verified a group of file system resources for correctness and also delivered an atomic move of said resources to cloud could be utilized to populate the cloud file store with verified artifacts from the current repo, and also handle new artifact uploads going forward?

2016-01-13T21:33:10.000435Z

@jonahbenton: everything in the current repo will end up in the cloud store, correct or not, though we will run a tool across the repo to fix what we can before hand