summaryrefslogtreecommitdiffstats
path: root/packaging
Commit message (Collapse)AuthorAge
* [Packaging] Move user out of systemd files and add to tarballCalum Lind2019-06-08
| | | | | | | | | | | | | | | With the `deluge` user specified in the unit files it ties it to that user and makes it unavailable for re-use by systemd user instance. Remove the user and group from the unit files and put them in a separate `user.conf` file that should be installed as an override file e.g. for deluged.service this would be placed as follows: /etc/systemd/service/deluge.service.d/user.conf Add the systemd files to the tarball for package maintainers. Closes: #2034
* [Packaging] Add updated launchd scriptsCalum Lind2019-06-08
| | | | | | | | | Copy from Trac UserGuide and updated with proper naming and deluge-web version. The bin location is default for brew with pip install. Closes: #3073
* [Docs] Update install details and add more pagesCalum Lind2019-05-23
|
* [Lint] Fix flake8 3.7 warningsCalum Lind2019-03-29
| | | | | | | | | | | - Fix new flake8 warnings from latest version. Note: The `addSlash` variable was orphaned with no reference in Twisted or Deluge code so removed. - Update pre-commit config - New pinned versions. - Fix prettier output. - Use new flake8 hook config and add naming plugin.
* Cleanup tox configurationCalum Lind2018-11-02
| | | | | | | | | | | | | | | | | | | There were issues with dependencies and tox environments under Python 3 so refactored the tox configuration to be more consistent and clearer. - Moved travis to default to Python 3 for linting and tests. - Fixed missing mock for cairo in sphinx config. - Collated the base deps sections to improve readability. - Added PYTEST_ADDOPTS env to override pytest verbosity in just tox tests as this was a common option being used. - Renamed env 'testcoverage' to the more concise 'coverage' and moved html creation under single env as handy to have this output as well as report. - Cleaned up the isort config for gtk3. - Added `bad-continuation` to pylint config as conflcts with black formatting. - Fix isort issue with bbfreeze script. This will likely be removed in future so just skip sorting it.
* [Packaging] Update make_release script for Py3Calum Lind2018-10-19
| | | | xz compression is included in Python 3 so simplify script.
* Update pre-commit configCalum Lind2018-10-08
| | | | | | The prettier hook was missing a trailing slash so omitting css files. Add a trailing space fix hook and fix issues.
* [Lint] Exclude js and css from EOF fixerCalum Lind2018-10-05
| | | | | | | | | | - When running pre-commit on all files it is picking up minified js and css files. Since prettier will format correctly the source files ignore them in end-of-file fixer. - The template files in web docs can be ignored too. - Removed the unneeded `pre-commit-hooks` dependency as pre-commit resolves that itself. - Include files fixed by pre-commit.
* [Lint] Use Black to auto-format codeCalum Lind2018-10-03
| | | | | | | | | | | | | | | | | The move to using auto-formatter makes it easier to read, submit and speeds up development time. https://github.com/ambv/black/ Although I would prefer 79 chars, the default line length of 88 chars used by black suffices. The flake8 line length remains at 120 chars since black does not touch comments or docstrings and this will require another round of fixes. The only black setting that is not standard is the use of double-quotes for strings so disabled any formatting of these. Note however that flake8 will still flag usage of double-quotes. I may change my mind on double vs single quotes but for now leave them. A new pyproject.toml file has been created for black configuration.
* Manually compress png with zopflipngCalum Lind2018-06-21
|
* Fix files to pass new Flake8 checkersCalum Lind2018-06-01
| | | | | | | | | | | Some new flake8 checkers were added so fix these new warnings and any issues uncovered. Use add-trailing-comma to fix missing trailing commas. It does not format it as well as I would like however it was fast to change and helps with git changes in future. Removed pylint from tox due to large number of warnings.
* [Packaging] Simplify release script using sdistCalum Lind2017-06-27
| | | | | | * setup.py sdist now creates a pristine tar which can be used for release. * Uses the version currently checked-out in git. * Removed unneeded lines in manifest.
* [Packaging] Apply fixes to OSX app scriptsCalum Lind2017-06-27
| | | | | | * Fix path to dist dir * Rename dylib with new soversion for lt 1.1.x * Create Info.plist with version and year automatically
* [Packaging] Fix using wrong commit idCalum Lind2017-06-25
|
* Update systemd service filesCalum Lind2017-06-23
| | | | | - Add man page link - Ensure deluge-web is not daemonised
* [Packaging] Add a make_release file for source packagingCalum Lind2017-05-17
|
* Cleanup infolist and changelogCalum Lind2017-05-16
|
* Add systemd service files to packaging dirCalum Lind2017-03-20
|
* [#2879] [OSX] Fix dyld error opening file from within DelugeCalum Lind2017-02-22
| | | | | | - Using DYLD_LIBRARY_PATH seems to have the unintended effect of making associated apps unusable (unable to locate dylds) when opening a file from within Deluge. The workaround for now is to switch to using DYLD_FALLBACK_LIBRARY_PATH.
* [Lint] Fix files to pass Flake8 v3.2.0Calum Lind2016-11-17
|
* [Lint] Add flake8-quotes to tox and fix bad quotesCalum Lind2016-11-04
|
* [Lint] Convert all python double quotes to single quotesCalum Lind2016-11-03
| | | | | | | | | | | | | | | | | | * A rather disruptive change but for a few reasons such as easier to read, easier type, keep consistent and javascript code uses single quotes. * There are a few exceptions for the automated process: * Any double quotes in comments * Triple double quotes for docstrings * Strings containing single quotes are left e.g. "they're" * To deal with merge conflicts from feature branches it is best to follow these steps for each commit: * Create a patch: `git format-patch -1 <sha1>` * Edit the patch and replace double quotes with single except those in comments or strings containing an unescaped apostrophe. * Check the patch `git apply --check <patchfile>` and fix any remaining issues if it outputs an error. * Apply the patch `git am < <patchfile>`
* [#2828] [Packaging] Fix ImportError with setuptools version > 18.8Calum Lind2016-05-19
|
* [#2767] [Packaging] Don't include .py files in OSX AppCalum Lind2015-12-11
|
* [OSX] Fix starting deluged from connection managerCalum Lind2015-12-11
|
* [#2777] Update MSVC SP1 check to latest release CLIDCalum Lind2015-11-23
|
* [Lint] Cleanup helper scripts to pass PyLintCalum Lind2015-10-30
|
* osx file in wrong locationCalum Lind2015-09-23
|
* [Packaging] Minor osx updatesCalum Lind2015-09-20
|
* [Packaging] Updates to osx scriptsCalum Lind2015-09-18
| | | | | | | * bundle_contents now appends 'Contents' without adding it twice. * Remove reference to non-existent gdk-pixbuf.loaders * Separate libtorrent in new module. * Update lib versions for bundle file.
* [Packaging] Updates to the NSIS Installer scriptCalum Lind2015-09-18
| | | | | | | | * New message box popup if VC 2008 Redist package not detected. * Add Start Menu page to choose where/if to install items. * Add desktop shortcut install option to finish page. * Clean up spacing and use consistent 4 spaces to indent. * Exclude as many unneeded pygame libraries as possible.
* [Win32] Fix output exes in bbfreezeCalum Lind2015-09-13
|
* [#2325] [Packaging] Fix uninstaller deleting non-deluge filesCalum Lind2015-09-10
|
* [Packaging] bbfreeze updatesCalum Lind2015-08-27
| | | | * No need for data_files to be installed on windows
* [Packaging] bbfreeze tweaks and commentsCalum Lind2015-08-26
| | | | * Reduce output from bbfreeze and add debug option to enable again.
* [Packaging] Fix typo in bbfreezeCalum Lind2015-08-26
|
* Flake8 bbfreezeCalum Lind2015-08-24
|
* [Win32] Refactor bbreeze scriptCalum Lind2015-08-24
| | | | | | | | * In setup.py put web and deluged back into console_script as the gtkui hack in bbfreeze is a windows only issue for popup cmd windows showing. * Altered the bbreeze script to find any deluge scripts in pythonpath. * Use setIcon now in bbfreeze and use icon from package. * Use version stamp from pywin32.
* [#2736] [Win32] Add version info to exe filesCalum Lind2015-08-24
|
* [#2758] [win32] Include _cffi_backend module in bbfreezedoadin2015-08-24
|
* [win32] Update packaging scriptsCalum Lind2015-08-24
| | | | * Update directory paths.
* Create a packaging directoryCalum Lind2015-08-21