datastax / cstar_perf

Apache Cassandra performance testing platform
Apache License 2.0
72 stars 34 forks source link

Rethink how we specify revisions #98

Open EnigmaCurry opened 9 years ago

EnigmaCurry commented 9 years ago

I've had some thoughts about how to restructure how we specify revisions in cstar_perf. Right now, you can specify any git reference. This is convenient, because the syntax is well understood by anyone familiar with git. However, there's some limitations:

Since we are already trusting our authenticated users to be non-malicious, I think we should open this up a bit more, and allow any user to specify any github branch of cassandra to run on cstar_perf. However, this means we need to make a few changes.

With this change I would propose we get rid of the monolithic ~/fab/cassandra.git directory, and instead maintain a separate git clone per repository tested. The clone would only be created/updated when a test specifically calls it out to be tested.

Examples of valid references in this new model: