-
Notifications
You must be signed in to change notification settings - Fork 14
Improvements to import script and other changes #136
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
Conversation
- add manual env parsing - import-papers: add cli arg for archive - import_papers.sh: delete copied archive file from container - frontend: add 'Contribute on GitHub' to footer
|
The latest updates on your projects. Learn more about Vercel for GitHub.
💡 Enable Vercel Agent with $100 free credit for automated AI reviews |
| impl EnvVars { | ||
| impl EnvVars { | ||
| /// Parses the environment variables into the struct | ||
| pub fn parse() -> Result<Self, Box<dyn std::error::Error>> { |
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.
Can this be tested? Shouldn't be too hard ig?
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.
how to write tests 🙄
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.
Either by following this or by creating an issue and making it a future human's problem.
harshkhandeparkar
left a comment
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.
Merge or make any changes if you wish.
Description
Manually parsing env instead of using
clapimport-papers(rust script): Added a CLI argument to specify the filename for the archive. Also has a help command (viaclap)import_papers.sh(bash script): Deleted the copied archive file from the container after processingFrontend: Added 'Contribute on GitHub' to footer
import-papers: Slack notification now shows total unapproved papers as well.I have updated the relevant documentation