I'm currently browsing the various ConfigurationOf in MetaRepoForPharo30 catalog hoping to find a pattern to serve as guidelines, but what I see is a messy variety of solutions:
- direct reference to specific source repositories of package B as Johan suggested (and the successive baselines are effectively tracking motions of B)
IMO the worst thing, I don't manage B and don't want to update my ConfigurationOfA each time B moves.
- references to ConfigurationOfB thru squeaksource MetacelloRepository.
My preferred solution. I don't care if the catalog is centralized on squeaksource, Smalltalkhub or whatever, but I want a centralized catalog
- refrences thru MetaRepo catalog du jour (tracking motions of MetaRepo across baselines)
My original question, using secondary catalogs is not a problem if they are just a duplicata, but I prefer to ask, because it sounds strange to have multiple catalogs just to implement a filter (the filter being select those packages that are tested and approved in pharo x.y)... Certainly a workaround for a missing feature of Metacello.
- a mixture of the 3 solutions above for some packages!
That appears as randomness from my POV, or like of guidance
So again, what are the best practices currently, and could we think of it in a bit longer term?