stevieb9 / berrybrew

Perlbrew for Windows!
Other
63 stars 9 forks source link

Each bb instance should have a distinct 'install_path' entry #344

Closed stevieb9 closed 11 months ago

stevieb9 commented 11 months ago

‘rootDir’ would be ‘c:/BerryBrew/instances’. This may change outcome of #341

We should still keep the orphans ignore framework, just have bb catch an empty list and report properly

stevieb9 commented 11 months ago

Right now, we have perls for prod stored at c:/berrybrew, for staging c:\berrybrew\staging and testing c:\berrybrew\testing.

Moving perls to an instance dir would only move the problem, because we'd have c:\berrybrew\instance\staging for example.

What needs to happen is each berrybrew instance needs to have its own install_path, eg c:\berrybrew-testing\ with c:\berrybrew-testing\intance for perl instances.

Then, things like .cpanm, snapshots dirs etc wouldn't have to be considered ignored orphans.