RESOLVED FIXED221986
[webkitscmpy] Document package usage
https://bugs.webkit.org/show_bug.cgi?id=221986
Summary [webkitscmpy] Document package usage
Jonathan Bedard
Reported 2021-02-16 12:09:22 PST
Now that webkitscmpy is a more mature package in production usage, we should update it's documentation.
Attachments
Patch (3.54 KB, patch)
2021-02-16 14:27 PST, Jonathan Bedard
no flags
Patch for landing (3.53 KB, patch)
2021-02-16 15:52 PST, Jonathan Bedard
no flags
Radar WebKit Bug Importer
Comment 1 2021-02-16 12:09:37 PST
Jonathan Bedard
Comment 2 2021-02-16 14:27:34 PST
Stephanie Lewis
Comment 3 2021-02-16 15:04:32 PST
Comment on attachment 420541 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=420541&action=review > Tools/Scripts/libraries/webkitscmpy/README.md:7 > +webkitcorepy along with fasteners, monotonic, whichcraft, and xmltodict. nit: Think this would read better as bulleted list than as a sentence > Tools/Scripts/libraries/webkitscmpy/README.md:11 > +The `git-webkit` command exposes much of the utility of the `webkitscmpy` library to the command line. Most notably: nit: the utility of webktscmpy seems circular. We haven't defined what the utility is yet. Maybe replace with what the utility of webkitscmpy is > Tools/Scripts/libraries/webkitscmpy/README.md:15 > +`git-webkit checout <ref>`: Move the current local repository to the provided git ref, Subversion revision or identifier. typo checkout > Tools/Scripts/libraries/webkitscmpy/README.md:17 > +`git-webkit canoniclize`: Standardize commit authorship and put identifiers into the commit message. typo canonicalize. I think that's an awkward name for a command > Tools/Scripts/libraries/webkitscmpy/README.md:21 > +The `webkitscmpy` library provides a repository abstraction for both local and remote repositories. Those abstractions nit: Instead of Those abstractions can be instantiated in code like so how about: To instantiate a repository object. > Tools/Scripts/libraries/webkitscmpy/README.md:28 > +remote.Scm.from_url('https://svn.webkit.org/repository/webkit') nit: Would this make more sense if it was assigned to a variable? > Tools/Scripts/libraries/webkitscmpy/README.md:33 > +be missing from certain implementations. For example, remote repositories do not have a `checkout` command available. nit how about While the abstraction layer is consistent for all implementations not all implementation support every feature. For example, ... > Tools/Scripts/libraries/webkitscmpy/README.md:35 > +Each repository abstraction keeps a record contributors, which can be primed and passed into the repository object: nit: record of contributors? list of contributor records?
Jonathan Bedard
Comment 4 2021-02-16 15:52:32 PST
Created attachment 420554 [details] Patch for landing
EWS
Comment 5 2021-02-16 16:38:32 PST
Committed r272939: <https://commits.webkit.org/r272939> All reviewed patches have been landed. Closing bug and clearing flags on attachment 420554 [details].
Note You need to log in before you can comment on or make changes to this bug.