Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deployer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
deployer
Commits
27bb17c5
Commit
27bb17c5
authored
Aug 26, 2026
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move the wiki from bzr to git
Signed-off-by:
Mattia Rizzolo
<
mapreri@ubuntu.com
>
parent
f90a4c9b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
scripts/wiki.ubuntu-it.org
scripts/wiki.ubuntu-it.org
+4
-4
No files found.
scripts/wiki.ubuntu-it.org
View file @
27bb17c5
#!/bin/bash
#!/bin/bash
export
NAME
=
"wiki.ubuntu-it.org"
export
NAME
=
"wiki.ubuntu-it.org"
export
REPO_URL
=
"
lp:~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo
"
export
REPO_URL
=
"
https://git.launchpad.net/ubuntu-it-wiki
"
base
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
base
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
.
"
${
base
}
/../utils/include.sh"
.
"
${
base
}
/../utils/include.sh"
repo
=
"
$(
bzr
_clone_repo
"
${
NAME
}
"
"
${
REPO_URL
}
"
)
"
repo
=
"
$(
git
_clone_repo
"
${
NAME
}
"
"
${
REPO_URL
}
"
)
"
if
bzr
_needs_update
"
${
NAME
}
"
;
then
if
git
_needs_update
"
${
NAME
}
"
;
then
deploy
=
"
$(
deploy_new
"
${
NAME
}
"
)
"
deploy
=
"
$(
deploy_new
"
${
NAME
}
"
)
"
cp
-r
"
${
repo
}
/data/plugin"
"
${
deploy
}
"
cp
-r
"
${
repo
}
/data/plugin"
"
${
deploy
}
"
cp
-r
"
${
repo
}
/htdocs"
"
${
deploy
}
"
cp
-r
"
${
repo
}
/htdocs"
"
${
deploy
}
"
cp
-r
"
${
repo
}
/wikiconfig.py"
"
${
deploy
}
"
cp
-r
"
${
repo
}
/wikiconfig.py"
"
${
deploy
}
"
bzr
_save_revision
"
${
NAME
}
"
"
${
deploy
}
"
git
_save_revision
"
${
NAME
}
"
"
${
deploy
}
"
deploy_switch
"
${
NAME
}
"
"
${
deploy
}
"
deploy_switch
"
${
NAME
}
"
"
${
deploy
}
"
fi
fi
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