Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gherkin rsync testdata #136

Merged
merged 3 commits into from
Mar 15, 2017
Merged

Gherkin rsync testdata #136

merged 3 commits into from
Mar 15, 2017

Conversation

aslakhellesoy
Copy link
Contributor

Summary

Use rsync to copy files to subrepos.

Details

Each subrepo that wishes to have copies of other files can declare what files or directories to copy in an .rsync file.

The rsync_files function from scripts/functions.sh can then be used to perform a sync.

Motivation and Context

The subrepos such as cucumber/gherkin-java, cucumber/gherkin-ruby etc. haven't been autonomous prior to this change. Their Makefile would refer to files in the parent directory, which doesn't exist when the subrepo is cloned.

This poses a problem for CI, because the full test suite can't run unless all files are available.

How Has This Been Tested?

Manually for now. As soon as this is merged and subrepos pushed, we'll fix any remaining issues highlighted by CI

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

  • I've added tests for my code.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

subrepo:
  subdir:   "gherkin/c"
  merged:   "f1b4d66"
upstream:
  origin:   "https://github.com/cucumber/gherkin-c.git"
  branch:   "master"
  commit:   "f1b4d66"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "b5d1ba1"
This makes each subrepo mirror autonomous.
@aslakhellesoy aslakhellesoy added the 🔧 build Related to build / release process label Mar 15, 2017
@aslakhellesoy aslakhellesoy merged commit 110295c into master Mar 15, 2017
@aslakhellesoy aslakhellesoy deleted the gherkin-rsync-testdata branch July 12, 2018 21:13
@lock
Copy link

lock bot commented Jul 12, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔧 build Related to build / release process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant