-
Notifications
You must be signed in to change notification settings - Fork 13
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
277 fake jira issue generator without jiragiler #280
277 fake jira issue generator without jiragiler #280
Conversation
…ke JIRA issues generator.
@anthonyjlau Your code should be added to R/jira.R. The files are organized so to reflect modules in the code. Let's iterate over the specification on the task issue on code organization. |
Auto_unbox formats the JSON files properly and the modified/ removed files are so checks can pass.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #280 +/- ##
==========================================
- Coverage 39.79% 38.56% -1.23%
==========================================
Files 20 20
Lines 3091 3101 +10
==========================================
- Hits 1230 1196 -34
- Misses 1861 1905 +44 ☔ View full report in Codecov by Sentry. |
@carlosparadis My R-CMD-check is failing because create_base_info and create_ext_info is in a documentation object but I am not sure what this documentation object is in. The warning is on line 548: |
Did you recompile the documentation like the workflow on how the PR should be made suggests? |
Added functions 'create_fix_versions', 'create_parent', 'create_priority' and 'create_project'. I also changed some existing functions to make naming more consistent.
@carlosparadis As you said, I needed to recompile the documentation. However, now I get an error saying:
Also, when I try to build Kaiaulu (ie. hitting the Install button at the top) I get:
I did not change any documentation in R/jira.R and I am not sure what this means. Help on this would be appreciated! |
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.
Looks alright as far as I can see.
You need to address the RMD-Check not passing before I can review. |
When I was merging the Kaiaulu master branch with my origin master branch, I accidently pushed changes on to my master branch that was not intended. In order to solve this, I did Leaving this here so there is some documentation of this. |
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.
I have not done a test run on my local machine yet, but please address these first before then.
tests/testthat/test-jira.R
Outdated
issues_comments_list <- parse_jira(json_path = jira_json_path) | ||
issues <- issues_comments_list[["issues"]] | ||
# issues_comments_list <- parse_jira(json_path = jira_json_path) | ||
# issues <- issues_comments_list[["issues"]] |
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.
After everything else is modified, I will let you know when to uncoment these.
Working on this PR next. Please do not commit to your fork. |
- Example functions now return folder paths, which is required by the parsers. - Unit tests delete folder functions have been re-added. - Functions passed parameters reverted to "/tmp" Signed-off-by: Carlos Paradis <carlosviansi@gmail.com>
Check still fails due to reference to a function that doesn't exist (the downloader). |
Signed-off-by: Carlos Paradis <carlosviansi@gmail.com>
Signed-off-by: Carlos Paradis <carlosviansi@gmail.com>
Checks will still fail here due to the reference to the downloader, but the Fake data generator worked fine with the parser. One thing that was missing was the removal of the examples folder. That has also been addressed. Parser can now be unit tested and tests pass. Only thing missing is the Downloader, at which point all checks should pass. The Notebook should also be updated on the Downloader to reflect the new setup. |
Created 2 new files, jira-new.R and test-jira-new.R, to make a new fake data generator without the edits that JirAgileR makes to the data.