transparentstats / guidelines

Transparent Statistics in HCI guidelines, FAQs, and exemplar analyses
https://transparentstats.github.io/guidelines/
Other
19 stars 7 forks source link

Automate the release process #69

Open mjskay opened 6 years ago

mjskay commented 6 years ago

Quick sanity check. I had proposed a process like this:

This separates in-progress version from the "released", community-endorsed version.

However, this has the potential con that the master branch no longer is the development version. It being the first thing you see on Github, maybe we instead want a process like this (basically dev -> master and master -> release from above):

?

mjskay commented 6 years ago

Or a third option:

This would mean that http://transparentstats.github.io/guidelines would always track the dev version (and we could put a prominent warning at the top of every page indicated this fact and linking to the released version), and http://transparentstats.github.io/guidelines-release would always track the latest released version.

chatchavan commented 6 years ago

I vote for the third option because of the following reasons:

  1. Having an instantly-readable development version would potentially allow more contributors to read and check without having jump through all huddles of installing R and stuff. (They can post their input as Github issues).

  2. Github pages only allow one .github.io page per repository. Thus, if we wish to have both instantly-readable version of the release and the dev, we will need to place one version of these somewhere anyway.

Addition to the third version:

mjskay commented 6 years ago

I have added a draft of the release process to the wiki: https://github.com/transparentstats/guidelines/wiki/Release-Process

chatchavan commented 6 years ago

The release process sounds good.

Do we need DOI before endorsements? If not, to make life easier, I can create a script on Travis to automate the DOI reservation, addition to RMarkdown, compile, and publish online. The process would looks like:

I tested Zenodo API, and this process should work.

mjskay commented 6 years ago

Yeah, I don't think we need the DOI before endorsements, so of you can script all that part that would be great!

chatchavan commented 6 years ago

OK. I scheduled time to work on the script and revise the wiki page on 11.01.18.

Until then, @shionguha @steveharoz @dragice, any comments on the process are welcome. Otherwise, I'd assume that you are OK with it.

dragice commented 6 years ago

I agree with the process.

chatchavan commented 6 years ago

I still haven't manage to get it working in a test repository. Will come back to this after my vacation (after 6 Feb.)