Gina Häußge
a71f6fcd40
Merge branch 'maintenance' into devel
...
# Conflicts:
# .pre-commit-config.yaml
# setup.py
# src/octoprint/plugins/pluginmanager/__init__.py
# src/octoprint/server/api/printer.py
# src/octoprint/server/api/printer_profiles.py
# src/octoprint/server/api/settings.py
# src/octoprint/util/commandline.py
2021-03-11 15:26:46 +01:00
Gina Häußge
f9745515e1
🎨 Add pyupgrade
2021-03-11 14:34:06 +01:00
Gina Häußge
100764b03e
🎨 Remove some left-over pragma headers & future imports
2020-10-07 21:37:22 +02:00
Gina Häußge
18e6bfc7f8
Merge branch 'maintenance' into devel
...
# Conflicts:
# .github/workflows/build.yml
# docs/conf.py
# docs/development/environment.rst
# docs/sphinxext/codeblockext.py
# docs/sphinxext/onlineinclude.py
# setup.py
# src/octoprint/access/groups.py
# src/octoprint/access/permissions.py
# src/octoprint/access/users.py
# src/octoprint/cli/__init__.py
# src/octoprint/cli/analysis.py
# src/octoprint/cli/client.py
# src/octoprint/cli/config.py
# src/octoprint/cli/plugins.py
# src/octoprint/cli/server.py
# src/octoprint/cli/user.py
# src/octoprint/environment.py
# src/octoprint/events.py
# src/octoprint/filemanager/__init__.py
# src/octoprint/filemanager/analysis.py
# src/octoprint/filemanager/destinations.py
# src/octoprint/filemanager/storage.py
# src/octoprint/filemanager/util.py
# src/octoprint/logging/__init__.py
# src/octoprint/logging/handlers.py
# src/octoprint/plugin/__init__.py
# src/octoprint/plugin/core.py
# src/octoprint/plugins/action_command_notification/__init__.py
# src/octoprint/plugins/action_command_prompt/__init__.py
# src/octoprint/plugins/appkeys/__init__.py
# src/octoprint/plugins/backup/__init__.py
# src/octoprint/plugins/corewizard/__init__.py
# src/octoprint/plugins/corewizard/subwizards.py
# src/octoprint/plugins/discovery/__init__.py
# src/octoprint/plugins/errortracking/__init__.py
# src/octoprint/plugins/gcodeviewer/__init__.py
# src/octoprint/plugins/logging/__init__.py
# src/octoprint/plugins/pi_support/__init__.py
# src/octoprint/plugins/softwareupdate/cli.py
# src/octoprint/plugins/softwareupdate/updaters/single_file_plugin.py
# src/octoprint/plugins/softwareupdate/updaters/sleep_a_bit.py
# src/octoprint/plugins/softwareupdate/version_checks/always_current.py
# src/octoprint/plugins/softwareupdate/version_checks/bitbucket_commit.py
# src/octoprint/plugins/softwareupdate/version_checks/github_release.py
# src/octoprint/plugins/softwareupdate/version_checks/httpheader.py
# src/octoprint/plugins/softwareupdate/version_checks/jsondata.py
# src/octoprint/plugins/softwareupdate/version_checks/never_current.py
# src/octoprint/plugins/softwareupdate/version_checks/pypi_release.py
# src/octoprint/plugins/tracking/__init__.py
# src/octoprint/plugins/virtual_printer/virtual.py
# src/octoprint/printer/__init__.py
# src/octoprint/printer/estimation.py
# src/octoprint/printer/profile.py
# src/octoprint/printer/standard.py
# src/octoprint/server/__init__.py
# src/octoprint/server/api/__init__.py
# src/octoprint/server/api/system.py
# src/octoprint/server/api/users.py
# src/octoprint/server/util/flask.py
# src/octoprint/server/util/tornado.py
# src/octoprint/server/util/webassets.py
# src/octoprint/settings.py
# src/octoprint/slicing/__init__.py
# src/octoprint/timelapse.py
# src/octoprint/util/__init__.py
# src/octoprint/util/comm.py
# src/octoprint/util/commandline.py
# src/octoprint/util/connectivity.py
# src/octoprint/util/fixes.py
# src/octoprint/util/gcodeInterpreter.py
# src/octoprint/util/jinja.py
# src/octoprint/util/json/__init__.py
# src/octoprint/util/net.py
# src/octoprint_client/__init__.py
# src/octoprint_setuptools/__init__.py
# tests/filemanager/test_filemanager.py
# tests/filemanager/test_localstorage.py
# tests/plugin/test_core.py
# tests/plugin/test_settings.py
# tests/plugin/test_types_blueprint.py
# tests/plugin/test_types_settings.py
# tests/server/api/test_system.py
# tests/server/util/test_flask.py
# tests/server/util/test_tornado.py
# tests/slicing/test_slicingmanager.py
# tests/test_daemon.py
# tests/timelapse/test_timelapse_helpers.py
# tests/util/test_comm.py
# tests/util/test_file_helpers.py
# tests/util/test_pip.py
# tests/util/test_repeated_timer.py
# tests/util/test_resettable_timer.py
# versioneer.py
2020-10-07 21:08:44 +02:00
Gina Häußge
b5be8f3eae
🎨 Add codemods to pre-commit, fix flake8
2020-10-07 16:27:11 +02:00
Gina Häußge
1f93b2355a
🎨 Switch to black formatting
2020-10-07 13:13:06 +02:00
Franck Nijhof
025fb23fed
Cleanup encoding pragma headers and future imports
2020-09-25 22:56:25 +02:00
Gina Häußge
1cea388481
🐛 Fix _version.py generation
2019-02-12 13:53:20 +01:00
Gina Häußge
34d6a6f8ce
⬆ Update versioneer & generated file
2019-02-12 12:29:00 +01:00
Gina Häußge
6a03532ea7
♻ Backport py3 compat for versioneer
2019-02-12 12:25:41 +01:00
Gina Häußge
a09b54d374
Have tag based branches not report post versions unless dirty
...
That will allow us to make changes to e.g. github related metadata files
stored in the repository without OctoPrint reporting a non tag version.
2017-04-13 11:49:58 +02:00
Gina Häußge
e847b355cd
Fixed an issue with versioneer detecting sdist version
...
Implicit match on \n appears to be causing issues when
generating the sdist tarball under Windows. Matching against
\s+ instead works reliably. Simply including the newline in the
matched JSON string would also work fine.
2016-11-07 14:24:53 +01:00
Gina Häußge
33bd1acd47
We want to use pep440-post as default version scheme
2015-07-01 08:59:37 +02:00
Gina Häußge
7cd0adb922
Refreshed versioneer again
2015-06-30 15:15:49 +02:00
Gina Häußge
711810d18b
Switched to new version of versioneer
...
Versions should now be PEP440 compatible.
2015-06-30 14:57:39 +02:00
Gina Häußge
137db0b17c
Updating versioneer & switch to PEP440 versioning
2015-06-29 17:27:15 +02:00
Gina Häußge
babbbf696e
Fix: Another versioneer branch issue
2015-04-20 12:45:38 +02:00
Gina Häußge
5acb04c180
Fixed a couple of more missing branch fields and added Changelog entry
2014-11-04 10:07:46 +01:00
Colin Wallace
87234bda05
Fix missing branch field in DEFAULT dict
...
Should fix an error raised on line 951 (SHORT_VERSION_PY % DEFAULT) during Octoprint setup when there's no version info. More info here: https://groups.google.com/forum/#!topic/deltabot/8udyUsJ1c9M
2014-11-03 05:50:09 +00:00
Gina Häußge
45c1958d83
Versioneer now also returns and persists the branch from which OctoPrint was installed
...
Changed version output accordingly to now display "{version} ({branch} branch)" if branch information is available (which should be the case if installation was performed from git).
(cherry picked from commit a48b5de )
2014-09-03 10:56:39 +02:00
Gina Häußge
e51d9439c5
Modified versioneer to allow specification of manual versions based on branches
...
You can now define a lookup file explicitely mapping virtual version tags to branches via regular expressions and a reference commit from which the commit distance will be calculated.
Format of the file is
<branch-regex> <tag> <reference commit>
The file is processed from top to bottom, the first matching line wins. If <tag> or <reference commit> are left out, the lookup table does not apply to the matched branches and the regular versioneer resolution (via git describe) takes place.
Current configuration makes "master", "staging" and any branch starting with "fix/" make use the default behaviour, all other branches (so basically all development branches) are defined as "1.2.0-dev"
(cherry picked from commit 212f40c )
2014-09-03 10:53:54 +02:00
Gina Häußge
772ebd198a
Fixed setup.py to correctly work with versioneer
...
(cherry picked from commit de7808d )
2014-06-23 10:36:30 +02:00
Gina Häußge
18162cf110
Versioning by versioneer: https://github.com/warner/python-versioneer/
...
(cherry picked from commit 285f464 )
2014-06-22 01:12:06 +02:00