On Sat, Aug 10, 2013 at 1:26 AM, Julian Padilla <[email protected]>wrote:

> Hello everyone at GeoTools!
>
> Julian here and wanted to post a quick question,
>
> Would anybody be able to send me an "idiot proof", set of steps on how to
> push your code to the main GeoTools Main GIT Repostory.
> I'm a rookie when it comes to GITHub, so if anyone can help it would be
> really appreciated.
>

Saw this pull, 2500+ files changed, I guess this one did not go well :-p
https://github.com/geotools/geotools/pull/245

I've closed it.

There are instructions here:
http://docs.geotools.org/latest/developer/procedures/git.html

Steps that normally work for me, which are also covered above:
* fork geotools in your own repo
* check it out
* add geotools as an origin to your own repo, make sure you're up to date
with it
* create a local feature branch in order to prepare a pull request
* make the modifications needed, commit
* push to your fork
* create a pull request from it

If the pull request was properly created the pull will contain only your
new files,
plus eventually some changes to the unsupported module pom.xml file (to
have a profile that includes your new module in the build)

In order to commit to the main repo, given that you're adding new files,
 you'll have to sign and send a contributor agreement:
http://docs.geotools.org/latest/developer/roles/contribute.html#code-contribution-license

Also, make sure all files you're committing have the proper license header,
e.g.:

/*
 *    GeoTools - The Open Source Java GIS Toolkit
 *    http://geotools.org
 *
 *    (C) 2013, Open Source Geospatial Foundation (OSGeo)
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License as published by the Free Software Foundation;
 *    version 2.1 of the License.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 */


Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to