Closed FichteFoll closed 8 years ago
Excellent! Thanks!
How do we feel about encouraging to use the naming conventions for color schemes or themes? Both seem to have two "implicit" conventions, which are:
Color Scheme - <name>
and <name> Color Scheme
, or Theme - <name>
and <name> Theme
respectively.I mean, we have similar implicit conventions of naming a package <language name> Snippets
or <language name> Completions
if they only contain that.
I have no strong preferences either way. It looks like there are more <name> Color Scheme
and more Theme - <name>
than either respective alternative.
This has been moved to PCC's wiki (with actual version history and probably better discoverability): https://github.com/wbond/package_control_channel/wiki/Pull-Request-Review-Guidelines
I also updated it in the mean time.
I'll use this ticket as a place to draft the process for reviewing packages. It will be updated over time when I feel like it. Eventually this should be added to packagecontrol.io. This will allow us to introduce potentially more helpers to the process and can also serve as a checklist for experienced reviewers (such as myself) in case I forget something.
It is assumed that you know about the
repository.json
file format. Seeexample-repository.json
.Reviewing a package addition to the default Package Control channel
example-repository.json
file.Review the package.
"tags": true
, both no prefix andv
will be recognized currently. (https://github.com/wbond/package_control/issues/887)Check for specific files in the repository:
*.pyc
,*.cache
binary files are auto-generated by Sublime Text and stored in the same folder in ST2. Unless the package does not ship the.py
source files, request the author to remove those files.The
.no-sublime-package
file should only be used if really necessary since it complicates overriding and modifying packages locally. Such a file is needed ifsubprocess
module.node
.It is not needed for bundling Python modules. Relative imports work in both ST2 and ST3 (although differently for ST2 in the package's root folder). If a module uses numerous absolute imports to import parts of itself (grrr) and an addition to
sys.path
is necessary, this should also work if the package is archived. TOTEST.package-metadata.json
should not be present! Ask the author to remove it.messages.json
is present, check if it is correctly formatted (i.e. valid JSON, uses correct keys, specified files actually exist). (docs)major: close all (file) handles; check if the package considers being an archived package on ST3; check if package satisfies its install requirements compatability-wise (does the code work on ST2/3? Windows? does it perhaps work on more than specified?); try to guess if a plugin is taxing on performance
minor: don't hardcode forward slashes for file paths; point out general flaws in code or give tips
Reviewing a package change in the default Package Control channel
Generally the same steps as for when adding a package apply, except that you don't need to review the package since it has already been done when it was added. However, there are a few additional things to consider in certain situations.
http://github.com/OldFichteFoll
redirects to the new user or repo url. This confirms that it was indeed a user rename and not a different user.name
attribute in package data), check that the old package name was added to theprevious_names
list.Similar package(s) exist(s)
TODO
Cleaning up old pull requests
TODO
cc @wbond, @joneshf
Since I'll be away from 27th thru 8th it sounded like a good idea to do that now.