We welcome features and issue reports. Since the project is associated with the Wikimedia movement, we are moving our issue trackers to Wikimedia Phabricator. However, feel free to create an issue here as well.
Code review and merge happens here on Github as of now.
- Get a local fork of this repository in your username-space following instructions here.
- Setup your local development environment following the instructions here.
- We use a
pull-request
model for development. To start contirbuting, you can create a PR to themaster
branch following the documentation here. - Make sure you run all
pre-commit
hooks (will run automatically ongit commit
if you followed instructions on 2 correctly). a sample output while committing would be:
(gdrive-env-3.5.3) ➜ gdrive_to_commons git:(master) ✗ git add uploader/templates/
(gdrive-env-3.5.3) ➜ gdrive_to_commons git:(master) ✗ git commit -m "Fix tempalte reidrect, finish up with new template designs"
black....................................................................Passed
prettier.................................................................Failed
hookid: prettier
Files were modified by this hook. Additional output:
uploader/templates/home.html 194ms
(gdrive-env-3.5.3) ➜ gdrive_to_commons git:(master) ✗ git add uploader/templates/
The pre-commits
automatically fixes the file for you, so feel free to ignore these messages. In case you see that prettier
is messing up with your code, add one of those ignore flags above the line you want to remain intact.
<label class="custom-control-label" for="customControlInline">
<!-- prettier-ignore -->
<span> This formatting here will be preserved </span>
</label>
- Any code merged to
master
branch is automatically deployed at our current deployment server. Currently at https://tools.wmflabs.org/google-drive-photos-to-commons/