I try to learn about RPackageTag
s:
- It seems
RPackageTag
s are just something like sub-packages?
- Unlike let’s say tags in OS X, one item (here one class) cannot have more than one tag?
- A tag is always specific to an
RPackage
? The tags in Package1-Tag1 and Package2-Tag1 are not the same, i.e. are two different instances of RPackageTag
?
- There is the possibilty that Package1-Tag1 is just an
RPackage
and also the possibility that Package1-Tag1 is the combination of RPackage
Package1 and RPackageTag
Tag1?
Is that right? What is the idea behind the introduction of RPackageTag
s?
How are RPackageTag
s related to Monticello packages?
Some answers:
- Yes, they are like subpackages
- For now, yes. This is because we needed to keep some compatibility between RPackages and System Categories and we decided (for now), that the scheme would be: RPackage+Tag = SystemCategory. This will change in the future, by removing system categories and allowing tags to be like OSX tags.
- For now, yes... see point (2) :)
- No, you cannot. This is because of organisation issues derived also from the attach RPackage+Tag to a SystemCategory: If you have a package A-B and a Package A with tag B, both would share the SystemCategory A-B... which is seriously bad for the organization of the system.
Of course, as you can see, the real problem here is to have an ancient way of organisation still in system. This will change, in Pharo4 or (most probably) in Pharo5, and for now we need to live with this convenience solution.