Skip to content
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

v3.0.0 #217

Merged
merged 25 commits into from
Dec 10, 2021
Merged

v3.0.0 #217

merged 25 commits into from
Dec 10, 2021

Conversation

RobH123
Copy link
Contributor

@RobH123 RobH123 commented Sep 30, 2021

This change is Reviewable

@RobH123 RobH123 marked this pull request as draft September 30, 2021 21:55
@RobH123 RobH123 changed the title Handle new TQ TSV7 for demos; display date & time for demos Probably v2.2.6 Sep 30, 2021
@RobH123 RobH123 changed the title Probably v2.2.6 Forthcoming v3.0.0 Oct 4, 2021
@codecov
Copy link

codecov bot commented Oct 4, 2021

Codecov Report

Merging #217 (bece126) into master (63703f1) will increase coverage by 10.12%.
The diff coverage is 28.88%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #217       +/-   ##
===========================================
+ Coverage   29.88%   40.00%   +10.12%     
===========================================
  Files          29       30        +1     
  Lines        4297     4504      +207     
  Branches     1632     1728       +96     
===========================================
+ Hits         1284     1802      +518     
+ Misses       1800     1643      -157     
+ Partials     1213     1059      -154     
Impacted Files Coverage Δ
src/core/BCS-usfm-grammar-check.js 25.00% <0.00%> (-0.31%) ⬇️
src/core/field-link-check.js 0.00% <0.00%> (ø)
src/core/lexicon-file-contents-check.js 2.43% <0.00%> (-0.07%) ⬇️
src/core/orig-quote-check.js 11.06% <0.00%> (-0.05%) ⬇️
src/core/strongs-field-check.js 17.30% <0.00%> (-0.34%) ⬇️
src/core/ta-reference-check.js 0.00% <0.00%> (ø)
src/core/text-handling-functions.js 91.17% <ø> (ø)
src/core/getApi.js 15.90% <5.00%> (-2.82%) ⬇️
src/core/yaml-text-check.js 1.85% <5.88%> (-0.48%) ⬇️
src/core/notes-links-check.js 27.62% <8.29%> (+6.61%) ⬆️
... and 33 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 63703f1...bece126. Read the comment docs.

@RobH123 RobH123 linked an issue Oct 11, 2021 that may be closed by this pull request
@RobH123 RobH123 marked this pull request as ready for review October 15, 2021 05:00
@RobH123 RobH123 requested a review from mandolyte October 15, 2021 05:00
@RobH123
Copy link
Contributor Author

RobH123 commented Oct 15, 2021

Still more work for me to do of course @mandolyte, but I imagine you probably want to start using these fixes for OBS-TN/TQ/SN/SQ repos, plus a few other small improvements.

@RobH123 RobH123 changed the title Forthcoming v3.0.0 v3.0.0 Oct 16, 2021
@RobH123 RobH123 linked an issue Oct 18, 2021 that may be closed by this pull request
Copy link
Contributor

@mandolyte mandolyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 13 of 53 files at r1, 58 of 60 files at r2, 2 of 2 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @RobH123)


src/core/wrapper.js, line 60 at r3 (raw file):

  }
  return checkResults;
}

Robert, the full set that tc-creates will support is (currently):
ta,
tw,
twl,
tn,
tq,
sq,
sn,
obs,
obs-tq,
obs-tn,
obs-sn,
obs-sq

Twelve in all. In the above there are not wrappers for any markdown format. Nor is any distinction made between Bible and OBS resource types. So two questions:

  1. Should there be wrappers for markdown resource types?
  2. Is there a need to distinguish between Bible and OBS for TQ, TN, SN, and SQ? (I see that Book Id might disambiguate).
    Thanks!

@RobH123 RobH123 marked this pull request as draft October 19, 2021 06:12
@RobH123
Copy link
Contributor Author

RobH123 commented Oct 21, 2021

@mandolyte Would you prefer, for example looking at checkTWL_TSV6Table(username, languageCode, bookID, tableText, checkingOptions) to have for OBS:

1/ Use the same wrapper function with bookID set to 'OBS' ? or
2/ Have a different wrapper function (without the bookID parameter): checkOBSTWL_TSV6Table(username, languageCode, tableText, checkingOptions)`?

It's just as easy either way for me.

@mandolyte
Copy link
Contributor

mandolyte commented Oct 22, 2021 via email

@RobH123 RobH123 marked this pull request as ready for review October 22, 2021 08:20
@RobH123
Copy link
Contributor Author

RobH123 commented Oct 22, 2021

@mandolyte Ok, I implemented #1 above. Please look at the wrapper here and see if it looks like it will meet your needs. (Since you don't seem to want to pass through the filename for the TN/TQ/SN/SQ/TW checks, you may not want to pass the articleFilepathInRepo parameter for TA/TW checks? Those parameters are mostly used to inform the user of the location of the error, but might also be used sometimes to check or ignore certain field/character combinations in certain places. So actually, thinking more about it, it probably would be better to pass in those filenames if they're easy available???)

@mandolyte
Copy link
Contributor

mandolyte commented Oct 22, 2021 via email

@RobH123
Copy link
Contributor Author

RobH123 commented Oct 22, 2021

@mandolyte The path within the repo. So for .tsv and manifest files, they're usually just filenames coz they're not in subfolders, but of course, in a markdown repo, a filename of 01.md is not at all helpful -- something like content/kt/someword/01.md is required to be of any use.

Unless you object loudly, I think it makes sense to put that parameter back into all functions in the wrapper, even if you decide to only pass through an empty string.

@mandolyte
Copy link
Contributor

mandolyte commented Oct 22, 2021 via email

@RobH123
Copy link
Contributor Author

RobH123 commented Nov 1, 2021

Ok @mandolyte, I think this could be ready to go now -- see if those wrappers should do what you want. (I did add the filename/filepath fields back in, as they enable the package to suppress known non-errors for particular files.)

@RobH123 RobH123 linked an issue Nov 5, 2021 that may be closed by this pull request
@RobH123
Copy link
Contributor Author

RobH123 commented Dec 9, 2021

@mandolyte We probably should see if this can be merged so we can get to v3. I'm not sure who's waiting on who here? (Meanwhile, I've moved on.)

Copy link
Contributor

@mandolyte mandolyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 9 of 14 files at r4, 25 of 25 files at r7, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @RobH123)

@mandolyte mandolyte merged commit 2cb0ce8 into master Dec 10, 2021
@RobH123 RobH123 deleted the new.2021.September.5 branch December 10, 2021 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants