yaml-test-suite icon indicating copy to clipboard operation
yaml-test-suite copied to clipboard

Versioning of data

Open perlpunk opened this issue 7 years ago • 8 comments

The current plan is:

  • We keep adding commits to the data branch for development
  • If we think it is worth to make a release, we create a version number v1.2.3
    • We tag master with v1.2.3
    • We create an orphaned data branch called data-1.2.3 with one commit from current data
    • The data branch will be squashed to one commit, and we start adding commits to it again

TODOs

  • [ ] Make sure when adding a commit to data, that the data branch is fetched and rebased to origin
  • [x] Include the short commit sha from master into the commit message
  • [ ] Write a utility for "tagging" or actually creating data-release branches

perlpunk avatar Dec 04 '17 21:12 perlpunk

I like this plan. Thoughts:

  • Use a tag instead of a branch for single commit data thingy.
  • Use data-2017-12-04 for tag name
  • Remove tags after they are a month old. Maybe leave last 3 tags.

ingydotnet avatar Dec 04 '17 21:12 ingydotnet

  • hm. If it's an orphaned tag, it doesn't get fetched with git fetch automatically
  • I think we need to keep more releases. Think about libyaml: we are gonna do a clone of a specific branch/tag for automated testing, and as we are all busy, we don't want to have to check that every month or even year.

perlpunk avatar Dec 04 '17 21:12 perlpunk

Let's try tags for now. We can skip the deleting branches idea for now.

ingydotnet avatar Dec 04 '17 21:12 ingydotnet

Instead of having data branches, may you could create a release based of master branch and upload a tar.gz containing the generated data ?

jcfr avatar Dec 06 '17 18:12 jcfr

I think this is a decent idea.

Anyone can make data from master requiring just the most basic Perl. The tarball can be an alternate method for cave-dwellers. :)

ingydotnet avatar Dec 06 '17 21:12 ingydotnet

There's no need to upload tarfiles if we create tags for the data branch(es). github will do it for us.

perlpunk avatar Dec 06 '17 22:12 perlpunk

Commit id from master is now included in data commit message

perlpunk avatar Dec 15 '17 21:12 perlpunk

Well done @perlpunk

jcfr avatar Dec 15 '17 21:12 jcfr