Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scripts
mahara-scripts
Commits
736d799d
Commit
736d799d
authored
May 28, 2015
by
Aaron Wells
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace all git.nzoss.org.nz references with git.mahara.org
parent
c93c369f
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16 additions
and
16 deletions
+16
-16
debian/control
debian/control
+1
-1
debian/copyright
debian/copyright
+1
-1
debian/custom-site-mahara-langpacks.templates
debian/custom-site-mahara-langpacks.templates
+3
-3
gerrit/change-merged
gerrit/change-merged
+3
-3
gerrit/patchset-created
gerrit/patchset-created
+1
-1
mahara-langpacks/langpacks.pl
mahara-langpacks/langpacks.pl
+2
-2
mahara-langpacks/language-repos.txt
mahara-langpacks/language-repos.txt
+2
-2
mahara-langpacks/update-po.sh
mahara-langpacks/update-po.sh
+1
-1
mahara-langpacks/update-pot.sh
mahara-langpacks/update-pot.sh
+1
-1
release.sh
release.sh
+1
-1
No files found.
debian/control
View file @
736d799d
...
...
@@ -9,5 +9,5 @@ Package: custom-site-mahara-langpacks
Architecture: all
Depends: ${misc:Depends}, apache2, php5-cli, perl, bash, debconf, git-core, libhtml-tiny-perl, liblocale-po-perl, libwww-perl, bzr
Description: Mahara langpack repository scripts
Scripts to download mahara langpacks from git.
nzoss
.org
.nz
, clean them up, and
Scripts to download mahara langpacks from git.
mahara
.org, clean them up, and
make them available for HTTP download.
debian/copyright
View file @
736d799d
...
...
@@ -2,7 +2,7 @@ This package was debianized by Richard Hector <richard@catalyst.net.nz> on
Sat, 20 Nov 2010 18:38:57 +1300
It is incorporated into the same repository as the software itself, at
https://git.
nzoss.org.nz/mahara
/mahara-scripts
https://git.
mahara.org/scripts
/mahara-scripts
Upstream Authors:
...
...
debian/custom-site-mahara-langpacks.templates
View file @
736d799d
Template: custom-site-mahara-langpacks/projdir
Type: string
Default:
git@git.nzoss.org.nz:mahara/mahara-lang.git
Default:
Description: Project location
The git repository to get the langpacks from
Template: custom-site-mahara-langpacks/wwwroot
Type: string
Default:
Default:
http://langpacks.mahara.org
Description: WWW root
The URL for the site, eg langpacks.
dev.
mahara.org
The URL for the site, eg langpacks.mahara.org
gerrit/change-merged
View file @
736d799d
...
...
@@ -67,7 +67,7 @@ def send_bug_mail(bug_number, change_url, project, commit, submitter, branch, gi
to_address
=
bug_number
+
TO_ADDRESS_SUFFIX
remote_url
=
'https://git.
nzoss
.org
.nz
/mahara/%s/commit/%s'
%
(
project
,
commit
)
remote_url
=
'https://git.
mahara
.org/mahara/%s/commit/%s'
%
(
project
,
commit
)
body
=
'''Reviewed: %s
Committed: %s
Submitter: %s
...
...
@@ -89,7 +89,7 @@ def append_commit(commits, document, project, full_commit_id, author, log):
revision
=
subprocess
.
Popen
([
'git'
,
'--git-dir='
+
BASE_DIR
+
'/git/'
+
project
+
'.git'
,
'rev-parse'
,
'--short'
,
full_commit_id
],
stdout
=
subprocess
.
PIPE
).
communicate
()[
0
].
strip
()
remote_url
=
'https://git.
nzoss
.org
.nz
/mahara/%s/commit/%s'
%
(
project
,
full_commit_id
)
remote_url
=
'https://git.
mahara
.org/mahara/%s/commit/%s'
%
(
project
,
full_commit_id
)
commit
=
document
.
createElement
(
'commit'
)
commit_author
=
document
.
createElement
(
'author'
)
...
...
@@ -136,7 +136,7 @@ def submit_to_cia(project, commit, branch, git_log):
generator_version
=
doc
.
createElement
(
'version'
)
generator_version
.
appendChild
(
doc
.
createTextNode
(
'1.0'
))
generator_url
=
doc
.
createElement
(
'url'
)
generator_url
.
appendChild
(
doc
.
createTextNode
(
'https://git.
nzoss.org.nz/mahara
/mahara-scripts/blob
s
/master/change-merged'
))
generator_url
.
appendChild
(
doc
.
createTextNode
(
'https://git.
mahara.org/scripts
/mahara-scripts/blob/master/
gerrit/
change-merged'
))
generator
.
appendChild
(
generator_name
)
generator
.
appendChild
(
generator_version
)
generator
.
appendChild
(
generator_url
)
...
...
gerrit/patchset-created
View file @
736d799d
...
...
@@ -62,7 +62,7 @@ def send_bug_mail(bug_number, change_url, project, commit, uploader, branch, git
to_address
=
bug_number
+
TO_ADDRESS_SUFFIX
remote_url
=
'https://git.
nzoss
.org
.nz
/mahara/%s/commit/%s'
%
(
project
,
commit
)
remote_url
=
'https://git.
mahara
.org/mahara/%s/commit/%s'
%
(
project
,
commit
)
body
=
'Patch for "%s" branch: %s
\n
'
%
(
branch
,
change_url
)
msg
=
MIMEText
(
body
)
...
...
mahara-langpacks/langpacks.pl
View file @
736d799d
...
...
@@ -41,7 +41,7 @@ my $TARBALLS = "${DATA}/tarballs";
my
$MAHARA
=
"
${DATA}
/mahara
";
my
$MAHARAREMOTE
=
'
git@github.com:MaharaProject/mahara.git
';
my
$REPOLIST
=
'
https://git.
nzoss.org.nz/mahara
/mahara-scripts/blob/master/mahara-langpacks/language-repos.txt
';
my
$REPOLIST
=
'
https://git.
mahara.org/scripts
/mahara-scripts/blob/master/mahara-langpacks/language-repos.txt
';
mkpath
$GITDIR
;
mkpath
$DIRTY
;
...
...
@@ -125,7 +125,7 @@ foreach my $branch (@branches) {
foreach
my
$lang
(
@langkeys
)
{
if
(
!
defined
$last
->
{
$lang
}
)
{
$last
->
{
$lang
}
=
{
repo
=>
"
git
@git
.
nzoss.org.nz:mahara-lang
/
$lang
.git
"
};
$last
->
{
$lang
}
=
{
repo
=>
"
git
@git
.
mahara.org:lang-old
/
$lang
.git
"
};
}
if
(
defined
$langs
{
$lang
}
->
{
repo
}
)
{
...
...
mahara-langpacks/language-repos.txt
View file @
736d799d
ar lp:mahara-lang
ca lp:mahara-lang
cs git@git.
nzoss.org.nz:mahara-lang
/cs.git
cs git@git.
mahara.org:lang-old
/cs.git
da lp:mahara-lang
de lp:mahara-lang
de_du lp:mahara-lang
el lp:mahara-lang
en_GB lp:mahara-lang
en_us git@git.
nzoss.org.nz:mahara-lang
/en_us.git
en_us git@git.
mahara.org:lang-old
/en_us.git
es lp:mahara-lang
eu lp:mahara-lang
fi lp:mahara-lang
...
...
mahara-langpacks/update-po.sh
View file @
736d799d
...
...
@@ -29,7 +29,7 @@ if [ ! -d ${MAHARA} ] ; then
git clone
${
mahararemote
}
${
MAHARA
}
fi
langremotebase
=
'git@git.
nzoss.org.nz:mahara-lang
/'
langremotebase
=
'git@git.
mahara.org:lang-old
/'
langs
=
"ca cs da de en_us es eu fi fr he it ja ko nl no_nb sl zh_tw"
for
lang
in
${
langs
}
;
do
...
...
mahara-langpacks/update-pot.sh
View file @
736d799d
...
...
@@ -32,7 +32,7 @@ TEMP=${WORK}/temp
[
!
-d
${
TEMP
}
]
&&
mkdir
${
TEMP
}
[
!
-d
${
DOCROOT
}
/pot
]
&&
mkdir
${
DOCROOT
}
/pot
#mahararemote='git@git.
nzoss
.org
.nz
/mahara/mahara.git'
#mahararemote='git@git.
mahara
.org/mahara/mahara.git'
mahararemote
=
'git@github.com:MaharaProject/mahara.git'
if
[
!
-d
${
GITDIR
}
]
;
then
...
...
release.sh
View file @
736d799d
...
...
@@ -85,7 +85,7 @@ pushd ${BUILDDIR}/mahara
# Main Mahara repo to pull from
#PUBLIC="git@git.
nzoss
.org
.nz
:mahara/mahara.git"
#PUBLIC="git@git.
mahara
.org:mahara/mahara.git"
PUBLIC
=
"git@github.com:MaharaProject/mahara.git"
echo
"Cloning public repository
${
PUBLIC
}
in
${
BUILDDIR
}
/mahara"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment