code-gov-web icon indicating copy to clipboard operation
code-gov-web copied to clipboard

Linking to open source presence of Department of Energy Labs

Open brianv0 opened this issue 9 years ago • 4 comments

Hi,

I'm the creator/admin of github.com/slaclab, and an employee at SLAC National Accelerator Laboratory. SLAC, like several other National Labs, currently has an open source presence on GitHub or BitBucket, some more official than others.

While the quality and usefulness of some of software has quite a range, it would still be great if you could link to the established open source presences of the labs.

If that's not possible, I'm sure each lab would be happy suggest specific open source projects that are developed for inclusion.

Thanks, Brian

brianv0 avatar Nov 05 '16 00:11 brianv0

Brian, Not to answer for the code.gov folks, but i think the current plan is for you (or DOE, not sure where policy has come down yet) to host a repo.json of your own and for code.gov to crawl and discover from there. This current site, probably best describe as an alpha, is using some hard coded repos to show what is possible, not what is the final product.

cc/ @ianlee1521

jbjonesjr avatar Nov 05 '16 01:11 jbjonesjr

Hi @brianv0 @jbjonesjr We'll be providing instructions for how to update/post new repos to the featured collection. In the meantime, we can pull repos from the github.com/slaclab organization.

okamanda avatar Nov 08 '16 14:11 okamanda

Let me get back to you on a few repos that we'd like to include. I don't think we'd want all of them; some are much more mature than others. I also can't speak for the other labs.

brianv0 avatar Nov 08 '16 16:11 brianv0

@okamanda / @brianv0 / @jbjonesjr --

Finally getting back to this.. I've gotten the code that I've been using to generate a code.json file for our (@LLNL) GitHub.com repositories, released and uploaded to GitHub: https://github.com/llnl/scraper

Currently, it only works on GitHub.com repos, but we use Bitbucket Server internally, so I'll be adding that support in the near future. I haven't tested it with GitHub Enterprise, but it shouldn't be much work to get that support in there as well.

gen_code_gov_json.py --agency DOE --organization "Lawrence Livermore National Laboratory" --github-orgs chaos esgf flux-framework glvis llnl mfem rose-compiler zfsonlinux --github-repos dun/conman dun/munge hpc/dcp hpc/mpifileutils hpc/mvapich-cce hpc/mvapich2-cce hpc/openlorenz hpc/Spindle

Running the above command will generate a code.json file, that @okamanda / @mattbailey0 or others might be able to pull straight into the repos.json asset... I'm not sure I recall seeing the instructions for the best way to update / post new repos, so I might need to make some updates / changes to the formatting to make it easier to merge into the code.gov site repos.json file.

Contributions are more than welcome, so feel free to dig in!

IanLee1521 avatar Nov 29 '16 16:11 IanLee1521