[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: getting used to git (almost trivial pcb patch)



To familiarize myself with the patch production I did this 
almost trivial patch of the pcb source. It replaces the old URL 
at sourceforge.net with the new one at gpleda.org.

$ git fetch
$ git reset --hard origin/master
$ ( do the edits) 
$ git commit -a
$ git format-patch -1

The last command got me a file named "0001-replaces-...-org.patch" whose
contents I attached below. Is this the way patches should be submitted?

---<(kaimartin)>---

Kai-Martin Knaak
Ãffentlicher PGP-SchlÃssel:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6C0B9F53

-------------------------------------------------------------------
From 6f0416253ccd6065c04b520b9add89e166b0a718 Mon Sep 17 00:00:00 2001
From: Kai-Martin Knaak <kmk@xxxxxxxxxxxx>
Date: Sat, 13 Mar 2010 17:52:09 +0100
Subject: [PATCH] replaces "pcb.sourceforge.net" with "pcb.gpleda.org"

---
 README           |    5 ++---
 doc/pcb.texi     |    5 ++---
 src/main.c       |    2 +-
 win32/Readme.txt |    3 +--
 4 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/README b/README
index be006fd..9b9da9a 100644
--- a/README
+++ b/README
@@ -6,9 +6,8 @@ For additional information read the manual (doc/pcb.pdf)
 
 If you are updating you may wish to read the ChangeLog
 
-There is also a bug tracking system and user forum available
-on the sourceforge project page which can be found from
-http://pcb.sourceforge.net.  
+There is also a bug tracking system available which can
+be found from http://pcb.gpleda.org.  
 
 
 -------------------------------------------------------------------------
diff --git a/doc/pcb.texi b/doc/pcb.texi
index b1adb89..2eeaeb0 100644
--- a/doc/pcb.texi
+++ b/doc/pcb.texi
@@ -5274,9 +5274,8 @@ Centroid (X-Y) data for driving automated assembly equipment.
 @cindex xcircuit, how to interface with
 
 If anyone cares to contribute this section, it will get added.  Please
-submit changes to the bug tracking system at the sourceforge project
-page for PCB which can be found from the PCB homepage at
-@url{http://pcb.sourceforge.net}.
+submit changes to the bug tracking system for PCB which can be found from
+the PCB homepage at @url{http://pcb.gpleda.org}.
 
 @c --------------------------- Appendix A -------------------------------
 
diff --git a/src/main.c b/src/main.c
index a0b38f3..b25093e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -246,7 +246,7 @@ usage (void)
 	n_exporter++;
     }
 
-  u ("PCB Printed Circuit Board editing program, http://pcb.sourceforge.net";);
+  u ("PCB Printed Circuit Board editing program, http://pcb.gpleda.org";);
   u ("%s [-h|-V|--copyright]\t\t\tHelp, version, copyright", Progname);
   u ("%s [gui options] <pcb file>\t\tto edit", Progname);
   u ("Available GUI hid%s:", n_gui == 1 ? "" : "s");
diff --git a/win32/Readme.txt b/win32/Readme.txt
index 7d73a68..93273a4 100644
--- a/win32/Readme.txt
+++ b/win32/Readme.txt
@@ -4,8 +4,7 @@
 This is the windows port of the pcb printed circuit board
 layout editor.
 
-Please visit http://pcb.sourceforge.net for more information
-about PCB.
+Please visit http://pcb.gpleda.org for more information about PCB.
 
 The windows port makes use of GTK+ for windows.   Please visit 
 http://www.gtk.org for more information about GTK.  Without all the hard
-- 
1.6.5





_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user