Skip to content

Commit 6c2e385

Browse files
committed
Updated coding guide to include some info on pull requests
1 parent 327f561 commit 6c2e385

File tree

2 files changed

+96
-32
lines changed

2 files changed

+96
-32
lines changed

CODING

+53-21
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,12 @@ Developers guide for QGIS
4545
2.6. Development in branches
4646
2.6.1. Purpose
4747
2.6.2. Procedure
48-
2.7. Submitting Patches
49-
2.7.1. Patch file naming
50-
2.7.2. Create your patch in the top level QGIS source dir
51-
2.7.3. Getting your patch noticed
52-
2.7.4. Due Diligence
48+
2.7. Submitting Patches and Pull Requests
49+
2.7.1. Pull Requests
50+
2.7.2. Patch file naming
51+
2.7.3. Create your patch in the top level QGIS source dir
52+
2.7.4. Getting your patch noticed
53+
2.7.5. Due Diligence
5354
2.8. Obtaining GIT Write Access
5455
3. Unit Testing
5556
3.1. The QGIS testing framework - an overview
@@ -509,11 +510,9 @@ development versions.
509510

510511
If you're interested in checking out QGIS documentation sources:
511512

512-
svn co https://svn.osgeo.org/qgis/docs/trunk qgis_docs
513+
git clone git@github.com:qgis/QGIS-Documentation.git
513514

514-
/!\ Note: This url will change to a git URL in the near future.
515-
516-
You can also take a look at DocumentationWritersCorner for more information.
515+
You can also take a look at the readme included with the documentation repo for more information.
517516

518517

519518
2.5. GIT Documentation
@@ -584,20 +583,53 @@ of the work on a wiki page.
584583
Testing before merging back to master:
585584
When you are finished with the new feature and happy with the stability, make
586585
an announcement on the developer list. Before merging back, the changes will
587-
be tested by developers and users. Binary packages (especially for OsX and
588-
Windows) will be generated to also involve non-developers. In trac, a new
589-
Component will be opened to file tickets against. Once there are no remaining
590-
issues left, the technical advisor of the PSC merges the changes into master.
586+
be tested by developers and users.
591587

592588

593-
2.7. Submitting Patches
594-
=======================
589+
2.7. Submitting Patches and Pull Requests
590+
=========================================
591+
592+
There are a few guidelines that will help you to get your patches and pull
593+
requests into QGIS easily, and help us deal with the patches that are sent to
594+
use easily.
595+
596+
597+
2.7.1. Pull Requests
598+
====================
599+
600+
In general it is easier for developers if you submit GitHub pull
601+
requests. We do not describe Pull Requests here, but rather refer you to the
602+
GitHub pull request documentation here:
603+
604+
https://help.github.com/articles/using-pull-requests
605+
606+
If you make a pull request we ask that you please merge master to your PR
607+
branch regularly so that your PR is always mergable to the upstream master
608+
branch.
609+
610+
If you are a developer and wish to evaluate the pull request queue, there is a
611+
very nice tool that lets you do this from the command line described here:
612+
613+
http://thechangelog.com/git-pulls-command-line-tool-for-github-pull-requests/
614+
615+
Please see the section below on 'getting your patch noticed'. In general when
616+
you submit a PR you should take the responsibility to follow it through to
617+
completion - respond to queries posted by other developers, seek out a
618+
'champion' for your feature and give them a gentle reminder occasionally if you
619+
see that your PR is not being acted on. Please bear in mind that the QGIS
620+
project is driven by volunteer effort and people may not be able to attend to
621+
your PR instantaneously. If you feel the PR is not receiving the attention it
622+
deserves your options to accelerate it should be (in order of priority):
595623

596-
There are a few guidelines that will help you to get your patches into QGIS
597-
easily, and help us deal with the patches that are sent to use easily.
624+
* Send a message to the mailing list 'marketing' your PR and how wonderful it
625+
will be to have it included in the code base.
626+
* Send a message to the person your PR has been assigned to in the PR queue.
627+
* Send a message to Marco Hugentobler (who manages the PR queue).
628+
* Send a message to the project steering committee asking them to help see your
629+
PR incorporated into the code base.
598630

599631

600-
2.7.1. Patch file naming
632+
2.7.2. Patch file naming
601633
========================
602634

603635
If the patch is a fix for a specific bug, please name the file with the bug
@@ -608,7 +640,7 @@ If the bug is an enhancement or new feature, its usually a good idea to create
608640
a ticket in trac (http://hub.qgis.org/projects/quantum-gis) first and then attach you
609641

610642

611-
2.7.2. Create your patch in the top level QGIS source dir
643+
2.7.3. Create your patch in the top level QGIS source dir
612644
=========================================================
613645

614646
This makes it easier for us to apply the patches since we don't need to
@@ -629,7 +661,7 @@ and then generate a patch which contains the delta between your feature branch
629661
and what is in the master branch.
630662

631663

632-
2.7.3. Getting your patch noticed
664+
2.7.4. Getting your patch noticed
633665
=================================
634666

635667
QGIS developers are busy folk. We do scan the incoming patches on bug reports
@@ -640,7 +672,7 @@ can escalate your query to one of the Project Steering Committee members
640672
(contact details also available on the Project Organigram).
641673

642674

643-
2.7.4. Due Diligence
675+
2.7.5. Due Diligence
644676
====================
645677

646678
QGIS is licensed under the GPL. You should make every effort to ensure you only

doc/CODING.t2t

+43-11
Original file line numberDiff line numberDiff line change
@@ -489,12 +489,10 @@ development versions.
489489

490490
If you're interested in checking out QGIS documentation sources:
491491
```
492-
svn co https://svn.osgeo.org/qgis/docs/trunk qgis_docs
492+
git clone git@github.com:qgis/QGIS-Documentation.git
493493
```
494494

495-
/!\ **Note:** This url will change to a git URL in the near future.
496-
497-
You can also take a look at DocumentationWritersCorner for more information.
495+
You can also take a look at the readme included with the documentation repo for more information.
498496

499497
== GIT Documentation ==
500498

@@ -507,6 +505,7 @@ http://gitready.com
507505
== Development in branches ==
508506

509507
=== Purpose ===
508+
510509
The complexity of the QGIS source code has increased considerably during the
511510
last years. Therefore it is hard to anticipate the side effects that the
512511
addition of a feature will have. In the past, the QGIS project had very long
@@ -560,16 +559,49 @@ of the work on a wiki page.
560559
**Testing before merging back to master:**
561560
When you are finished with the new feature and happy with the stability, make
562561
an announcement on the developer list. Before merging back, the changes will
563-
be tested by developers and users. Binary packages (especially for OsX and
564-
Windows) will be generated to also involve non-developers. In trac, a new
565-
Component will be opened to file tickets against. Once there are no remaining
566-
issues left, the technical advisor of the PSC merges the changes into master.
562+
be tested by developers and users.
563+
564+
565+
== Submitting Patches and Pull Requests ==
566+
567+
There are a few guidelines that will help you to get your patches and pull
568+
requests into QGIS easily, and help us deal with the patches that are sent to
569+
use easily.
570+
571+
572+
=== Pull Requests ===
573+
574+
In general it is easier for developers if you submit GitHub pull
575+
requests. We do not describe Pull Requests here, but rather refer you to the
576+
GitHub pull request documentation here:
577+
578+
https://help.github.com/articles/using-pull-requests
579+
580+
If you make a pull request we ask that you please merge master to your PR
581+
branch regularly so that your PR is always mergable to the upstream master
582+
branch.
583+
584+
If you are a developer and wish to evaluate the pull request queue, there is a
585+
very nice tool that lets you do this from the command line described here:
586+
587+
http://thechangelog.com/git-pulls-command-line-tool-for-github-pull-requests/
567588

589+
Please see the section below on 'getting your patch noticed'. In general when
590+
you submit a PR you should take the responsibility to follow it through to
591+
completion - respond to queries posted by other developers, seek out a
592+
'champion' for your feature and give them a gentle reminder occasionally if you
593+
see that your PR is not being acted on. Please bear in mind that the QGIS
594+
project is driven by volunteer effort and people may not be able to attend to
595+
your PR instantaneously. If you feel the PR is not receiving the attention it
596+
deserves your options to accelerate it should be (in order of priority):
568597

569-
== Submitting Patches ==
598+
* Send a message to the mailing list 'marketing' your PR and how wonderful it
599+
will be to have it included in the code base.
600+
* Send a message to the person your PR has been assigned to in the PR queue.
601+
* Send a message to Marco Hugentobler (who manages the PR queue).
602+
* Send a message to the project steering committee asking them to help see your
603+
PR incorporated into the code base.
570604

571-
There are a few guidelines that will help you to get your patches into QGIS
572-
easily, and help us deal with the patches that are sent to use easily.
573605

574606
=== Patch file naming ===
575607

0 commit comments

Comments
 (0)