Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2.2 #164

Merged
merged 44 commits into from
Apr 25, 2016
Merged

V2.2 #164

Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
1516bfd
Cleanup, merged from micke-work, and fixed issue #129
ukdtom Feb 3, 2016
342f6e0
Fixed issue #135
ukdtom Feb 8, 2016
c6ff580
fixed issue #126...See the docs
ukdtom Feb 9, 2016
130391f
Added debug mode for easy authentication
ukdtom Feb 13, 2016
32d7d5e
Now support Basic Auth Header for the login page
ukdtom Feb 15, 2016
1699c60
Fixed issue with stale unknowns, a problem with WT Update, and additi…
ukdtom Feb 20, 2016
b1e1c9e
Return of Agent delete of subs, as well as changelog ;-)
ukdtom Feb 27, 2016
0122c6b
Here we go
ukdtom Feb 27, 2016
71dd915
Added L
ukdtom Mar 6, 2016
e43cd58
Added Language module...See docs
ukdtom Mar 6, 2016
244d62b
Forgot to update my branch with the READMME ;-)
ukdtom Mar 6, 2016
03be2ea
Added support for ISO639-3 to the language module
ukdtom Mar 9, 2016
892c13c
First attempt for new module findMedia
ukdtom Mar 16, 2016
a96e5e1
Fixed issue #144
ukdtom Mar 16, 2016
f068af8
Align with Mike
ukdtom Mar 18, 2016
4f7b85b
Fixed #148. See docs
ukdtom Mar 18, 2016
6fcff36
Initial update channels implementation
fuzeman Mar 10, 2016
197fc93
Use the "bundle" name defined in the plugin details if the repository…
fuzeman Mar 18, 2016
ab97bda
Fixed an issue where plugins could be deleted during upgrades
fuzeman Mar 19, 2016
273140c
Only remove ".pyc" files if their ".py" file has been removed
fuzeman Mar 19, 2016
ec52865
Implemented new "keepFiles" property for plugins
fuzeman Mar 19, 2016
e7f7182
Fixed an issue where plugins could automatically startup before the a…
fuzeman Mar 19, 2016
4ccd6e7
Improved error handling during plugin installation
fuzeman Mar 19, 2016
2a205c2
Files defined in "keepFiles" are copied between upgrades again, remov…
fuzeman Mar 19, 2016
856a4a8
Merge pull request #150 from fuzeman/feature/update-channels
ukdtom Mar 19, 2016
b2d10e3
merge conflict
ukdtom Mar 19, 2016
0081275
Merge branch 'feature/installation-improvements' of https://github.co…
ukdtom Mar 19, 2016
6fc88f5
Merge branch 'fuzeman-feature/installation-improvements' into tommy-work
ukdtom Mar 19, 2016
15a5179
Fix issue 149
ukdtom Mar 21, 2016
5dbdfaf
Fixed an issue triggering manual installations on the website
fuzeman Mar 22, 2016
729c2de
Correctly set branch on manual installations
fuzeman Mar 22, 2016
af2f370
Fixed an issue retrieving "title" and "bundle" attributes for manual …
fuzeman Mar 22, 2016
b19759b
Merge branch 'fuzeman-issue/manual-installation-bug' into tommy-work
ukdtom Mar 23, 2016
2e9735e
New counter test
ukdtom Mar 25, 2016
a223ff6
take 2
ukdtom Mar 25, 2016
3b81d8d
Added download counter
ukdtom Mar 25, 2016
a1abcc7
Fixed uninit var referenced
ukdtom Mar 29, 2016
06c2d23
Hopefully last beta commit
ukdtom Apr 10, 2016
16c1c85
New call for Sweden...See Doc
ukdtom Apr 13, 2016
610bc11
custom themes added
ukdtom Apr 13, 2016
616e149
Added reset func. See Doc
ukdtom Apr 15, 2016
5098720
Final build before release, if the mighty cyberspace allows us
ukdtom Apr 23, 2016
572c8e1
Changed custom css
ukdtom Apr 23, 2016
6b5f9d0
Final prep of release and credits
ukdtom Apr 23, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Implemented new "keepFiles" property for plugins
 - "keepFiles" - List of files that should be ignored during upgrade cleanups
  • Loading branch information
fuzeman committed Mar 19, 2016
commit ec5286590f10e15c0f7e68c2010b16ef86689e54
5 changes: 4 additions & 1 deletion Contents/Code/git.py
Original file line number Diff line number Diff line change
@@ -672,6 +672,8 @@ def removeEmptyFolders(path, removeRoot=True):
bError = True
Log.Critical('Exception happend in downloadBundle2tmp: ' + str(e))
if bUpgrade:
keepFiles = Dict['PMS-AllBundleInfo'].get(url, {}).get('keepFiles', [])

# Now we need to nuke files that should no longer be there!
for root, dirs, files in os.walk(bundleName):
for fname in files:
@@ -686,7 +688,8 @@ def removeEmptyFolders(path, removeRoot=True):
if name.endswith('.pyc'):
name = name[:-1]

if name not in newFiles:
# Remove file if it doesn't exist in the new archive
if name not in keepFiles and name not in newFiles:
Log.Debug('Removing not needed file: ' + name)
os.remove(path)