Skip to content
This repository was archived by the owner on Apr 17, 2020. It is now read-only.

Conversation

@dacat
Copy link

@dacat dacat commented Apr 14, 2020

The tests currently fail because the current version of rvm doesn't support @@.

you see the build here https://travis-ci.org/github/dacat/rvm-test/builds/675076020

@eregon
Copy link
Contributor

eregon commented Apr 15, 2020

Hello, could you make the PR against https://github.com/rvm/rvm?
This repo's CI doesn't match the CI for rvm/rvm, and it's quite old, so it's not good to test changes.

As mentioned on Slack I think we should archive this repo and add a note in the README to clarify that.

@eregon
Copy link
Contributor

eregon commented Apr 15, 2020

I added a mention in the README in 5e3fc6f

@mpapis @pkuczynski OK to archive this repository to make it clear PRs should be made to rvm/rvm instead?

@pkuczynski
Copy link
Member

@eregon this repo is used by rvm/rvm using git reference. I discussed this with @mpapis a while ago about moving tests into rvm, but he complained about release complexity...

Copy link
Member

@mpapis mpapis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not like the idea of pre-processing the tests, bash part does evaluation of environment variables, the missing part is evaluating the test code in comments.

Best approach would be to modify tf to allow evaluation of variables in tests. Then common tests could be modified like:

rvm use 2.7.0${RVM_GEMSET_SEPARATOR} # match=/Using .*$RVM_GEMSET_SEPARATOR$/

where ${RVM_GEMSET_SEPARATOR} is evaluated by shell and $RVM_GEMSET_SEPARATOR$ is evaluated by tf.

This way the tests could be made configurable and we could run same test twice. 1st with @ separator and 2nd with @@ separator.

- recipients:
- - mpapis@gmail.com
- - me@deryldoucette.com
- on_failure: change
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- prefix does not look right

@eregon
Copy link
Contributor

eregon commented Apr 15, 2020

@pkuczynski Ah, it's a git subtree: rvm/rvm#4663 (comment)
(it used to be a git submodule but that changed in that issue)

I would still like to move this PR, the CI of this repository is completely outdated and merging here will not actual run the new tests when changing rvm/rvm.
The git subtree allows bidirectional synchronization, so I would suggest that all rvm-test changes are done in rvm, and this repository simply serves as history.

Given the history of these tests is probably not that valuable and the effort is synchronize is probably not worth it, I would like to still suggest to just archive this repo and let tests live in rvm/rvm, which is simpler for everybody as they are already there.

@eregon
Copy link
Contributor

eregon commented Apr 15, 2020

Let's move the review to rvm/rvm#4832

Implementation and tests together please, otherwise it's a nightmare and we've anyway been changing rvm-test in rvm/rvm directly for a while.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants