Comments (3)
Branch retract
of my fork about date2name
(here) now extends testing to trace the script's affect on files or folders to prepend the five fixed formats and how these stamps are removed. Consistent with earlier observation, the difficulty to retract a --withtime
stamp is met again for folders.
The current head in this branch still represents an early development version, aiming for a similar test coverage about files and tests. In addition to the default check across all test functions the Makefile offers, the tests are marked. Thus e.g., a call like
pytest-3 test_date2name.py -m "remove and folders"
constrains the scope of the tests performed to only 10 relevant (only -r
and --remove
for folders) out of a set of 110 test functions defined. In this perspective, test_generator.org
and its tangled files possibly are good enough for you/any other interested to improve how date/time stamps are removed. All other tests implemented pass (i.e. in total, 4 fail, 116 pass; success rate .ge. 96%)
The part testing date2name
's action on folders repeats much of the part testing about files. Perhaps I identify improvements for these series of tests relying on the permutation of parameters. If filing a pull request, I probably should condense the changes of multiple individual commits into a single one; this is a technique I have to get familiar anyway.
from date2name.
Sounds great - thanks.
I have to admit that I'm not using --remove
myself so far.
Looking forward for your pull request. To me, it doesn't matter. I'd gladly accept separate requests as well.
from date2name.
The commits by 2021-11-25 resolve the problem, the issue is closed.
from date2name.
Related Issues (12)
- -c [creation date] using current date HOT 8
- Feature Request: Inherent Tags HOT 2
- update on pypi, README.org is not well supported HOT 4
- pip install does no longer install the script HOT 10
- Installation HOT 4
- underscore after date sometimes appears and others not HOT 3
- Extract EXIF time-stamp from JPEG image header HOT 2
- --ctime uses current date on macOS HOT 6
- Write unit tests
- organize HOT 11
- Rename based on EXIF creation date HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from date2name.