RexOps / repositorio

Tool to administrate linux repositories
http://www.repositor.io/
55 stars 18 forks source link

Sub directory style tags, apache style config, some doc changes #30

Closed djzort closed 9 years ago

djzort commented 9 years ago

This PR includes two fairly minor things and one quite large one.

Firstly, enable a bunch of options in Config::General around enabling the 'include' function. The updated selection of options allows the 'include' verb with directories and globs and allows config fragments to be loaded over and over.

This permits for a parent repositorio.conf with something like repositorio.d/*conf to load in all the repo definitions. Handy for scripting and what not.

Secondly, the "all" keyword for repos is now documented and if found in the repositorio.conf you get a nasty error message.

Third, introduces a config option that places the tag directory at the bottom most directory rather than the top. There are pros and cons to top or bottom directory tags - which is briefly touched on in the commit message. Bottom directory style tags make much more sense for us. In the process, i also converted most path handling (if not all) to using File::Spec.

djzort commented 9 years ago

I was going to use File::Temp to magically create a private temporary directory too... but the change is big enough as it is and i want to get a feel for whats going to be accepted.

djzort commented 9 years ago

ping?

krimdomu commented 9 years ago

@djzort sorry for the delay, but i still having problems with my handwrists... :(

djzort commented 9 years ago

is there others that can sign off or otherwise push this back for refinement?

djzort commented 9 years ago

i know youre in pain, is there someone else who can look at this?

krimdomu commented 9 years ago

Hi @djzort,

sorry for the delay and thank you for this patch. I'm now able to to some things again, so I'm going to merge it and take a look at the other pr's so i can create a new release in the near futue.

djzort commented 9 years ago

ok thanks for that. I hope you are recovering well.