-
Notifications
You must be signed in to change notification settings - Fork 0
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
Code Cleanup #28
base: main
Are you sure you want to change the base?
Code Cleanup #28
Conversation
…ion types; it will now process all available types when this occurs.
…io.test.docx") and be placed in directories that do not initially exist at runtime, through the power of PathLib!
…for the NeuroPoly wiki) is now placed in the same place as everything else.
…ueries doesn't exist; it will now just notify the user with a warning instead + fix for user requesting 0 publication types
…ollution in preparation for future refactoring
…now you can mix both files and raw identifiers if you want! This is part of an overall CLI refactor, to preparation for automated testing.
…CV's contents to another.
…appropriate pre-run validations)
…tions can be called *without* needing a shell to call them!
…on used by the CCV
…LI `label` parameter
…(Google Doc or local) into its own CLI interface
…he old CLI hook to match)
Change Log: New: Custom CLI added for formatting the contents of a bibliography.
Changed:
Remaining TODOS:
|
@jcohenadad @namgo could one of you poke around with the new CLI and let me know if theres any features that were left out/broken by mistake? I don't really have a "feature list" to go off of here, so I'm just aiming to re-implement existing functionality in a new (cleaner) CLI format. Thank you in advance! |
@SomeoneInParticular this is great-- thank you for working on this-- i tested " bibeasy -o publi.docx -st custom -r -c" and it produces the same output as it used to-- however, glancing at #28 (comment), i see that some behaviours changed, which is not great-- it means that a command i used to do in the past won't work anymore or will produce different behaviours-- i do not have the time to dive into your lengthy description so could you pls just give me the TL;DR of what is different now-- thx also: the lab website is relying on bibeasy, so here to we need to make sure you didn't break anything-- thx-- tagging @nullnik-0 @namgo so they are aware |
@jcohenadad Yes; the original TL:DR: theirs now a second CLI, To use your command as an example (
AGAIN: This new CLI has not replaced the old one, and we can change existing scripts over to this new CLI at our leisure without anything breaking. It (and any other CLIs we add later for other functionality, such as CCV parsing) exist solely to get ahead of the bloat problem before technical debt makes it too much a nightmare to untangle. |
Note as well; the CLI changes are not set in stone, and were done mainly based on my intuition on what good "defaults" would be. Its easy to change them if I was wrong, or to make them "closer" to the original CLI. Just say the word |
This PR is mainly to resolve a number of potential issues and code quality concerns in the current state of the repository. In particular, this PR aims to fix the following (among other minor fixes):
os
package, which can be unsafe (or, at least, less safe thanpathlib
for what its being used for)Once this pass is completed, the next step will be implementing automated testing to help ensure that further refactors/tests don't break existing functionality (which I am currently testing manually). Cheers!