summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvis Angelaccio <elvis.angelaccio@kde.org>2016-11-11 15:15:54 (GMT)
committerElvis Angelaccio <elvis.angelaccio@kde.org>2016-11-11 15:16:45 (GMT)
commit521a960e53b73c0d336551ab4bc6ed5af6960e2d (patch)
tree29b762269d9e6614e61b3c153ca05130417bc5f1
parent54e0cdc7acc8588e956aa606e13c0b7dafb13990 (diff)
create_tarball: update svn URLv16.12.0v16.11.90v16.11.80
The script now works without the need for -n or -u switches. The https URL is also dropped as it's no longer working. Differential Revision: D3325
-rwxr-xr-xcreatetarball/create_tarball_kf5.rb32
1 files changed, 2 insertions, 30 deletions
diff --git a/createtarball/create_tarball_kf5.rb b/createtarball/create_tarball_kf5.rb
index 107e079..22d9672 100755
--- a/createtarball/create_tarball_kf5.rb
+++ b/createtarball/create_tarball_kf5.rb
@@ -19,18 +19,11 @@ require 'fileutils'
# check command line parameters
options = OpenStruct.new
options.help = false
-options.https = false
options.ask = true
options.translations = true
options.sign = false
opts = OptionParser.new do |opts|
- opts.on("-u", "--user USERNAME", "svn account") do |u|
- options.username = u
- end
- opts.on("-w", "--https", "Using https instead of svn+ssh") do |w|
- options.https = w
- end
opts.on("-n", "--noaccount", "Using svn://anonsvn.kde.org/ instead of svn+ssh") do |n|
options.anonsvn = n
end
@@ -63,36 +56,15 @@ rescue Exception => e
exit
end
-if (options.username)
- username = options.username + "@"
-end
-
if (options.application)
apps = Array.new
apps << options.application
end
-if (options.https)
- if (username)
- svnbase = "https://#{username}svn.kde.org/home/kde"
- else
- puts opts
- puts
- puts "Username is mandatory with https"
- exit
- end
-else
- svnbase = "svn+ssh://#{username}svn.kde.org/home/kde"
-end
+svnbase = "svn+ssh://svn@svn.kde.org/home/kde"
if (options.anonsvn)
- if (options.https)
- puts opts
- puts
- puts "https or anonsvn please, not both"
- exit
- end
- svnbase = "svn://anonsvn.kde.org/home/kde"
+ svnbase = "svn://anonsvn.kde.org/home/kde"
end
if (options.help)