dalgibbard / citrix_xenserver_patcher

Auto / Manual Patching tool for Citrix XenServer Boxes
Do What The F*ck You Want To Public License
142 stars 45 forks source link

Automatic Loading of Exclusions Files (local or remote) #7

Closed dalgibbard closed 9 years ago

dalgibbard commented 10 years ago

As per subject; with the new feature of "Exclusions" - it would be nice to be able to auto-load exclusion files straight from github...

We can happily maintain a single exclusions list i believe, and patches which don't relate to a particular version will just be ignored. Should be easy enough.

Ideally, this should be an option within the code which can be user defined to be either a URL or File Location. The "-e" argument will then append to this ideally. This works out for the best as the user can then set defaults to their choosing (or set it to null entirely), plus override on a per-node basis etc.

dalgibbard commented 9 years ago

v1.4 Planned Change:

\ Add automatic exclusioning if no exclusion file is defined.

\ Allow override of above with a flag if no exclusions are desired.

\ If no external connectivity- offer the question of whether to continue or not: -a flag means DONT continue.

\ Expand -e to allow for URLs (if not already supported.)

dalgibbard commented 9 years ago

\ Add new flag to documenation as appropriate.

dsiminiuk commented 9 years ago

This isn't working if it is supposed to. I had to manually create the file from the list of patches that were already present from

xe patch-list | awk '$1~/name-label/ {print $4}'
dalgibbard commented 9 years ago

Nay, this was an internal feature request. Hasn't been implemented.

dalgibbard commented 9 years ago

Completed and tested, working well. Exclusions present for XS6.2 and 6.5.