On 26/05/16 15:58, Stephen Benjamin wrote:
> 
> 
> ----- Original Message -----
>> From: "Dominic Cleal" <[email protected]>
>> To: [email protected]
>> Sent: Thursday, May 26, 2016 5:42:33 AM
>> Subject: Re: [foreman-dev] Merge foreman-bats into Forklift
>>
>> On 25/05/16 17:25, Ewoud Kohl van Wijngaarden wrote:
>>> On Wed, May 25, 2016 at 10:38:04AM -0400, Stephen Benjamin wrote:
>>>> I can understand separating it from development tools, so what about
>>>> moving
>>>> Katello's bats to foreman-bats?
>>>
>>> What would then be the primary way of getting the latest bats tests? A
>>> script to clone the foreman-bats repository?
>>
>> Assuming you just want to get foreman-bats to use its helpers then yes,
>> just clone the repo and they should be usable. Freight does something
>> similar to use another library of BATS helpers
>> (https://github.com/freight-team/freight/blob/master/Makefile#L88).
>>
>> Else you could use a submodule/tree to stay with a particular version.
>> The helpers could always be moved into their own repo if necessary.
> 
> I don't "just" want foreman-bats helpers, that's just one reason to merge
> the projects. I think they should be in the same repo together, wherever
> that is, and work with Forklift's Vagrant setup.

They're tests for different projects, they should be maintained with and
by the projects they're testing, not together. Plugins and other
projects should have autonomy to maintain their own codebases, not be
part of Foreman's.

> One of the benefits of how Forklift does things is that you can easily
> `vagrant up centos7-bats` and run katello bats locally. Why should
> foreman-bats stay in its own repo and maintain an entirely separate
> and different vagrant configuration?

Extract the commonality to a separate project if that's what you want to
fix, but don't build one repo covering multiple projects.

-- 
Dominic Cleal
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to