-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed: Refactor scripts #91, Adds logging #85 and Cleans code and comments #86 by Putting it in a Shared Library/Module #96
Conversation
I eventually cllosed my own 2 pull requests my self and merged that into one....so that it will not be some randomly modification again and again happening in all the pull requests, as first if loggers were added in all files and then again @TimidRobot had to review another pull and got them removed when a shared module is made then it will be a total waste of his time to go through same thing and get it change in other pull. In that case did I copied myself and did plagiarism? 🤔No, I am just making life of the maintainer easy that He won't have to do it again and again. Same in my case and on reminding about the readme.md, I also did added that too. Which I eventually have added 2 lines myself but just went to sleep and did it on waking up now. |
Okay then let me change it for you, I just saw your pull and added my own readme.md too ! |
Thank you, I appreciate it! |
Updated the |
No worries, thank you for changing it! |
/flicker/photos.json code structure
Hi @TimidRobot , |
This size/scope of this PR makes it difficult to review. Please resolve conflicts. |
Hi @TimidRobot , |
|
TESTING MERGE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please see requested changes and also update the other files accordingly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good work! thank you for seeing the PR through to completion
Merge pull request creativecommons#96 from IamMQaisar/shared_module
Fixes
Description
The shared code including Logging from various scripts has been moved to a shared library named
quantify.py
.Technical details
PYTHONPATH
,sys.path.append
has been used.logger
is used in a shared module that logsDate
,time
,module_name
from where error generated anderror msg
.PATH_WORK_DIR
exclusively handled as the sharing modulequantify.py
would have only shared it's own Path and not individual....Hard Coding the directory name would have negated the overall usage of getting the path from OS.PATH .Checklist
Update index.md
).main
ormaster
).visible errors.
Developer Certificate of Origin
For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."
Developer Certificate of Origin