1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 13:44:14 +01:00
Commit Graph

39 Commits

Author SHA1 Message Date
Olof Johansson
e6e8f2d591 Move run-tests.sh to scripts directory 2015-10-25 17:29:38 +01:00
Olof Johansson
1a7a9f5662 Add git version info to version string
When building from git, it can be useful to know which version
a user has at commit level resolution. When building in a git
repository, use git describe to generate a version string. If
HEAD matches a tag, use that. Examples:

    $ ./svtplay-dl --version
    0.20.2015.10.08-3-gbd75a67

    $ git tag -a 0.20.2015.10.18
    $ make
    ...
    $ ./svtplay-dl --version
    0.20.2015.10.18

make release is also adjusted, so that it overrides the version
value when building, so that official releases still only has the
tag.
2015-10-18 19:50:53 +02:00
Johan Andersson
7322b2d2ca Prepare for release 0.20.2015.10.08 2015-10-08 23:25:24 +02:00
Johan Andersson
d3fe1938a7 makefile: need extra $ for git-describe 2015-10-08 23:25:05 +02:00
Johan Andersson
b05d5922e0 makefile: this should fix the history between different versions 2015-09-20 15:21:57 +02:00
Johan Andersson
0b280457a2 Prepare for release 0.20.2015.09.13 2015-09-13 23:37:10 +02:00
Johan Andersson
f6feccaa05 Bumb version 2015-09-13 23:37:02 +02:00
Johan Andersson
1a70731df3 Makefile: Use git describe to find last tag 2015-09-13 23:33:22 +02:00
Johan Andersson
b47f3f8601 Prepare for release 0.10.2015.08.24 2015-08-24 23:06:41 +02:00
Olof Johansson
872cbf4140 build: make manpage generation reproducible
pod2man will insert a date in the footer of the manpage. By default,
it takes this value from the mtime of the input file. But this makes
it non-deterministic in that another build may produce other results.
By setting it to always be the date of the latest release we make it
deterministic.
2015-05-30 13:27:45 +02:00
Johan Andersson
0006eeea58 Prepare for release 0.10.2015.05.24 2015-05-24 17:31:34 +02:00
Johan Andersson
1d3f3ac96f Prepare for release 0.10.2015.03.25 2015-03-25 00:17:30 +01:00
Olof Johansson
b166577f07 Regenerate svtplay-dl after __version__ is updated 2015-03-25 00:12:44 +01:00
Olof Johansson
c0e4e50d06 build: update __version__ as well 2015-03-25 00:04:10 +01:00
Olof Johansson
87304cbbc7 build: Create release target
To build a new release, including tagging and commiting the release changes
(regenerate svtplay-dl, and update Makefile with LATEST_RELEASE), just do make
release. Obviously, the intended user of this target is the upstream author(s).

As part of the make release target, svtplay-dl will be unit tested and the
manpage will be checked to make sure all options are documented. All of this
happens in a local clone of your local repo. This is to make sure that no files
are left uncommited.

Finally, the changes necessary will be applied to your repo and a tag will be
set. All you have to do at this point is to verify that everything looks ok, and
then push master and the new tag to github.
2015-03-22 18:41:18 +01:00
Olof Johansson
47b05a245d build: Add doctest make target
Running `make doctest` will make sure the manual page is synchronized with the
available options.
2015-03-22 18:08:03 +01:00
Olof Johansson
975932bffe build: Build release date into VERSION 2015-03-22 17:48:14 +01:00
Olof Johansson
cf5facd149 build: Version was bumped to 0.10 some time ago 2015-03-22 17:47:56 +01:00
Johan Andersson
e37feb3322 makefile: the man file only need 644 2015-02-01 16:09:57 +01:00
Johan Andersson
49c2ec070d Makefile: move pylint to lib/Makefile 2014-12-26 02:11:19 +01:00
Olof Johansson
acb0366836 make: make TEST_OPTS overrideable from environment 2014-09-07 15:27:55 +02:00
Olof Johansson
54f6b1c3a9 pylint: Add --report=no
This change makes it easier to incrementally fix pylint issues; run make
pylint, fix issues, run make pylint again. Loop.
2014-07-22 09:58:06 +02:00
Olof Johansson
b3aa5d9185 Default to always run unit tests for both py2 and 3 2014-03-19 23:24:57 +01:00
Olof Johansson
6d55a58796 make: ignore informational pylint warnings
Pylint keeps complaining about pylint warnings are overriden. They
are overriden because we don't want to see them.
2014-02-08 17:27:03 +01:00
Olof Johansson
d4b03b53af make: Make shebang line overrideable 2014-02-05 18:52:31 +01:00
Olof Johansson
bbe19735a1 Use space around operators in makefiles 2013-05-27 20:49:00 +02:00
Olof Johansson
52cc3fe9ca Install manual with make install
(And of course, remove it on clean.)
2013-05-27 20:47:05 +02:00
Olof Johansson
5fb13353f2 make: recurse make clean and remove *.pyc 2013-05-15 18:39:43 +02:00
Olof Johansson
0cbe97ee2d Disable pylint W0511 (TODO/FIXME warnings) 2013-04-27 13:51:23 +02:00
Olof Johansson
23ed1b840b Restructure makefiles
This change makes it easier to add new packages; it's only necessary
to update the sub makefile (lib/Makefile) and add new packaes to the
PACKAGES variable.
2013-04-21 14:10:30 +02:00
Olof Johansson
2e4a2d4ce6 Also ignore refactor pylint warnings (for now) 2013-04-21 13:45:06 +02:00
Olof Johansson
4268696062 Pylint: ignore convention warnings (for now) 2013-04-21 11:32:13 +02:00
Olof Johansson
7ff8fa8a61 Set PYTHONPATH in Makefile to fix pylint warnings
pylint had issues with importing some modules because it lacked
"lib" in the PYTHONPATH.
2013-04-21 11:26:43 +02:00
Olof Johansson
79f9eb3dee Add cover target to Makefile 2013-04-21 10:48:20 +02:00
Patrik Ragnarsson
334df13ddd Don't override PREFIX 2013-03-24 01:43:45 +01:00
Olof Johansson
0671274673 Add a pylint target to top level Makefile 2013-03-23 17:25:07 +01:00
Olof Johansson
4b9615753f Add test target to Makefile 2013-03-23 17:07:36 +01:00
Johan Andersson
fb6d2a2b8a Making svtplay-dl works again. 2013-03-23 16:30:19 +01:00
Johan Andersson
f8d8cd4ecc Make a single file 2013-03-23 15:43:05 +01:00