Norwid Behrnd
d1f5672db0
Adjust present test functions to file.
...
The present test functions act on files only. Early tests to stack
folders on top of the present functions do not work reliably yet.
Thus, better to name the functions (uniformly) about what they test
which are actions on files only. This change equally prevents some
line breaks on the CLI, too.
2021-09-28 15:06:33 +00:00
Norwid Behrnd
20fbfe2504
Change names to query creation/modification time.
...
Down the road, the application's action on folders will be checked
as well. Thus, it is appropriate to alter the functions' names to
querry the time of creation/modifications into a more flexible, yet
correct form.
2021-09-28 14:41:00 +00:00
Norwid Behrnd
7504aead86
Continue on all tests, even if one fails.
...
The retraction of the -x parameter for pytest ensures that all
test functions defined are actually used. Previously, testing
stopped immediately, conveying an incomplete picture of date2name's
work implemented. Testing the retraction option -r, there is no
need for a delay between the indivdual options, either.
2021-09-28 14:26:46 +00:00
Norwid Behrnd
2e3654fd78
error retracting tags, ticketed version
...
The development version on GitHub offers the option to retract
time stamps date2name prepended to the files' file names. As this
version of the test script reveals, stamps obtained with the option
--withtime however are not fully reverted. The finding was shared
with Karl Voit as an issue for date2name earlier today (2021-09-22)
for a cross check.
2021-09-22 21:00:53 +00:00
Karl Voit
051254b9d6
Merge pull request #14 from nbehrnd/short
...
completion file testing, date2name
2021-09-20 19:04:54 +02:00
Norwid Behrnd
ed8b3652c9
Include short datestamp for files in tests.
...
The tests include Reiner Rottmann's suggestion of a short timestamp
(i.e., YYMMDD) on files.
2021-09-17 16:48:38 +00:00
Norwid Behrnd
7dc1dc6d2e
Correct errors calling/documenting the tests.
2021-09-17 16:16:52 +00:00
Karl Voit
f2cc6fae20
Merge pull request #13 from nbehrnd/testscript
...
initialize programmatic tests (with pytest)
2021-09-03 11:37:03 +02:00
Norwid Behrnd
2af0ee87df
initialize programmatic tests (with pytest)
...
An Emacs .org file is the source in to (re)create a Python script
to perform a few tests on date2name's functions to prepend a date/
time stamp. The .org file equally is source for the Makefile to
automate the testing even further.
Set up for and tested in Linux Debian 12/bookworm (branch testing)
with Python 3.9.2, pytest 6.2.4 (for Python 3); GNU Make 4.3;
GNU Emacs 27.1 backed by elpa org 9.4.0.
2021-09-02 14:52:09 +00:00
Karl Voit
6c8f37277e
Merge pull request #12 from rrottmann/feature/datestamp_removal
...
Feature/datestamp removal
2021-06-20 18:10:08 +02:00
Reiner Rottmann
6393f871c8
Implemented datestamp removal.
2021-06-18 19:32:56 +02:00
Reiner Rottmann
46ba880235
Added short datestamp YYMMDD.
2021-06-18 07:20:38 +02:00
Karl Voit
7184c1f282
README: added d2n + Python hint
2020-04-24 11:10:16 +02:00
Karl Voit
4c481416a1
README: integratethis method
2020-03-22 15:01:39 +01:00
Karl Voit
521901251a
README: re-ordering install sections
2020-03-22 15:00:28 +01:00
Karl Voit
75be162a53
README: integratethis method
2020-03-22 14:57:48 +01:00
Karl Voit
39c1acfa29
Windows screencast GIF
2020-03-22 14:44:15 +01:00
Karl Voit
f00860d0ed
Windows screencast GIF
2020-03-22 14:39:01 +01:00
Karl Voit
61001167a2
Windows screencast GIF
2020-03-22 14:37:48 +01:00
Karl Voit
8a0efb1b93
Windows screencast GIF
2020-03-22 14:36:28 +01:00
Karl Voit
d13b80b1c5
fixed ctime on macOS and closing #6
2019-04-04 11:21:24 +02:00
Karl Voit
01a3a4169e
README: linked https://github.com/DerBeutlin/date2name.el
2018-07-08 15:50:46 +02:00
Karl Voit
920e551384
README: added hints to integratethis
2018-05-13 11:03:39 +02:00
Karl Voit
5e8199e424
added --delimiter CLI argument for overwriting the delimiter; fixes #4
2018-05-09 13:49:47 +02:00
Karl Voit
80f6f8f817
README: added GLT18 video
2018-05-06 10:26:26 +02:00
Karl Voit
738b170477
added license file
2018-02-03 18:26:12 +01:00
Karl Voit
ae12356f0f
minor fixes
2018-02-03 18:23:05 +01:00
Karl Voit
55f369e172
refactored project structure according to pip guidelines
2018-02-03 18:15:46 +01:00
Karl Voit
ca26f78aef
README: added screencast
2018-02-03 17:16:50 +01:00
Karl Voit
745e604680
when a space is found in filename, space is used as datestamp separator instead of underscore
2017-12-08 13:07:23 +01:00
Karl Voit
0bc1cd3428
README: Integration into common tools
2017-11-11 16:15:16 +01:00
Karl Voit
79efa25bb2
Better recognition of time patterns with wrong delimiters
...
WITHTIME_AND_SECONDS_PATTERN & WITHTIME_NO_SECONDS_PATTERN
2017-08-26 11:53:11 +02:00
Karl Voit
76242c9c15
added some nice UTF8 characters for the screen output
2017-08-22 13:16:21 +02:00
Karl Voit
3ef6451616
fixed PEP8 issues
2017-08-22 13:08:11 +02:00
Karl Voit
b9c172a215
introduced PROG_VERSION_DATE
2017-08-22 13:06:32 +02:00
Karl Voit
fc258999e1
migrated to Python 3 via 2to3
2017-08-22 13:05:23 +02:00
Karl Voit
ac0ffda11d
added installation instructions to README
2016-09-11 17:38:44 +02:00
Karl Voit
b958d59ac6
added pip setup
2016-09-11 17:30:37 +02:00
Karl Voit
964b7bcc6a
added how-to-thank-me section
2016-08-29 19:45:01 +02:00
Karl Voit
e8beddf955
print error and exit when new filename exceeds 255 characters
2015-02-01 12:22:36 +01:00
Karl Voit
477fca3761
Merge branch 'master' of github.com:novoid/date2name
2015-02-01 11:42:14 +01:00
Karl Voit
36e498b761
fixed issue with ignored seconds in time pattern
2015-02-01 11:41:24 +01:00
novoid
dc607e017c
Merge pull request #2 from jdcorless/url-fix
...
Fixed broken URL to datestamps.org
2015-01-06 11:54:13 +01:00
John D. Corless
b895c771a3
Fixed broken URL to datestamps.org
2015-01-04 13:31:07 -06:00
novoid
77eff4da53
Merge pull request #1 from ranulf/cmdline-switches
...
Add short variants to some long options.
2014-12-16 13:10:26 +01:00
Thomas Wallrafen
b0b01553db
Update README.org for new short command line options
2014-12-12 16:14:53 +01:00
Thomas Wallrafen
69251d5289
Add short variants to some long options.
...
--compact => -C
--month => -M
--withtime => -w
2014-12-12 16:08:54 +01:00
Karl Voit
850bb0695e
added link to blog post on how to manage files
2014-11-08 14:11:17 +01:00
Karl Voit
b2563e0719
small bugfix
2012-04-05 15:08:56 +02:00
Karl Voit
b9292dcc8d
applied pep8
2012-04-04 19:03:21 +02:00