[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdesdk
From:       Michael Pyne <mpyne () kde ! org>
Date:       2011-01-23 4:51:33
Message-ID: 20110123045133.C4178AC8B9 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1216401 by mpyne:

kdesrc-build has moved to git. Delete everything not essential to kdesrc-build \
running, and in addition put in the most annoying exit-program message I can think of \
to nag people to cut their ties.

This should avoid confusing scripty while still warning users, without having to \
leave a README.

I'd like to thank toma and the rest of the sysadmins for the quick turnaround on the
git.kde.org request, and the i18n team and ReviewBoard maintainer in advance for the
updates to those pieces of KDE infrastructure.

I plan on removing the script from svn entirely around 7 February or so.

CCBUG:263939


 M  +0 -2      doc/scripts/CMakeLists.txt  
 D             doc/scripts/kdesrc-build/CMakeLists.txt  
 D             doc/scripts/kdesrc-build/index.docbook  
 D             doc/scripts/kdesrc-build/kdesrc-build.desktop  
 M  +29 -1     scripts/kdesrc-build  
 D             scripts/kdesrc-buildrc-sample  
 D             scripts/kdesrc-buildrc.xml  


--- trunk/KDE/kdesdk/doc/scripts/CMakeLists.txt #1216400:1216401
@@ -1,7 +1,5 @@
 
 
-add_subdirectory(kdesrc-build)
-
 ########### install files ###############
 
 kde4_create_manpage(man-adddebug.1.docbook 1 INSTALL_DESTINATION ${MAN_INSTALL_DIR})
--- trunk/KDE/kdesdk/scripts/kdesrc-build #1216400:1216401
@@ -67,7 +67,7 @@
     };
 }
 
-my $versionNum = '1.12.1';
+my $versionNum = '1.12.1-DEPRECATED_BY_GIT';
 
 # Some global variables
 # Remember kids, global variables are evil!  I only get to do this
@@ -7331,6 +7331,34 @@
     $color = 'r[' if $result;
 
     info "${color}Script finished processing at g[$time]" unless pretending;
+
+    note " b[r[*y[*r[*] ATTENTION PLEASE";
+    note " b[y[*r[*y[*] kdesrc-build has migrated to git.kde.org! This location will \
cease to work soon!"; +    note " b[r[*y[*r[*]";
+
+    note <<EOF;
+If you intend to keep using the latest version of kdesrc-build, you should update \
your +~/.kdesrc-buildrc to add the "kdesrc-build" repository on git.kde.org.
+
+For example, if you're already using module-sets for KDE git modules, you can simply \
add +g[kdesrc-build] to the end of an existing g[use-modules] command. Otherwise, \
something like +this is perfect for the end of your existing $rcfile:
+
+b[module kdesrc-build
+    repository git://anongit.kde.org/kdesrc-build
+end module]
+
+The final step is to ensure that you update your \$PATH environment variable to use \
the +version from git.kde.org.
+
+This version of kdesrc-build will be removed from Subversion by approximately \
2011-02-07 +(Feb. 7th). This will not remove your current kdesrc-build, but it will \
no longer update +from Subversion either, so you lose feature updates and bugfixes.
+EOF
+
+    if ($0 eq path_to_prog('kdesrc-build')) {
+        note "\t(... it looks like you do run kdesrc-build from PATH, $0)";
+    }
 };
 
 if ($@)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic