Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
0be07efe
Commit
0be07efe
authored
Oct 23, 2009
by
Julien Bonjean
Browse files
Options
Downloads
Patches
Plain Diff
[#2181] Updated launchpad packaging
parent
86da8e09
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/build-system/launch-build-machine-2.sh
+16
-14
16 additions, 14 deletions
tools/build-system/launch-build-machine-2.sh
tools/build-system/launchpad/dput.conf
+18
-4
18 additions, 4 deletions
tools/build-system/launchpad/dput.conf
with
34 additions
and
18 deletions
tools/build-system/launch-build-machine-2.sh
+
16
−
14
View file @
0be07efe
...
@@ -21,6 +21,7 @@ VERSION_INDEX="1"
...
@@ -21,6 +21,7 @@ VERSION_INDEX="1"
DO_PUSH
=
1
DO_PUSH
=
1
DO_LOGGING
=
1
DO_LOGGING
=
1
DO_UPLOAD
=
1
DO_UPLOAD
=
1
SNAPSHOT_TAG
=
`
date
+%Y%m%d
`
EDITOR
=
echo
EDITOR
=
echo
export
EDITOR
export
EDITOR
...
@@ -30,8 +31,7 @@ REFERENCE_REPOSITORY="${ROOT_DIR}/sflphone-source-repository"
...
@@ -30,8 +31,7 @@ REFERENCE_REPOSITORY="${ROOT_DIR}/sflphone-source-repository"
WORKING_DIR
=
"
${
ROOT_DIR
}
/sflphone-build-repository/tools/build-system"
WORKING_DIR
=
"
${
ROOT_DIR
}
/sflphone-build-repository/tools/build-system"
LAUNCHPAD_DIR
=
"
${
WORKING_DIR
}
/launchpad"
LAUNCHPAD_DIR
=
"
${
WORKING_DIR
}
/launchpad"
LAUNCHPAD_DISTRIBUTIONS
=(
"jaunty"
"karmic"
)
LAUNCHPAD_DISTRIBUTIONS
=(
"jaunty"
"karmic"
)
#LAUNCHPAD_PACKAGES=( "sflphone-client-gnome" "sflphone-common" )
LAUNCHPAD_PACKAGES
=(
"sflphone-client-gnome"
"sflphone-common"
)
LAUNCHPAD_PACKAGES
=(
"sflphone-client-kde"
)
echo
echo
echo
" /***********************
\\
"
echo
" /***********************
\\
"
...
@@ -103,9 +103,9 @@ fi
...
@@ -103,9 +103,9 @@ fi
echo
"Update reference sources"
echo
"Update reference sources"
if
[
${
IS_RELEASE
}
]
;
then
if
[
${
IS_RELEASE
}
]
;
then
cd
${
REFERENCE_REPOSITORY
}
&&
git checkout
origin/release
-
b
release
&&
git pull
cd
${
REFERENCE_REPOSITORY
}
&&
git checkout
.
&&
git checkout
-
f
release
&&
git pull
else
else
cd
${
REFERENCE_REPOSITORY
}
&&
git checkout master
&&
git pull
cd
${
REFERENCE_REPOSITORY
}
&&
git checkout
.
&&
git checkout
-f
master
&&
git pull
fi
fi
echo
"Retrieve build info"
echo
"Retrieve build info"
...
@@ -125,6 +125,7 @@ cd ${LAUNCHPAD_DIR}
...
@@ -125,6 +125,7 @@ cd ${LAUNCHPAD_DIR}
COMMIT_HASH_BEGIN
=
""
COMMIT_HASH_BEGIN
=
""
COMMIT_HASH_END
=
""
COMMIT_HASH_END
=
""
SOFTWARE_VERSION
=
""
SOFTWARE_VERSION
=
""
LAUNCHPAD_CONF_PREFIX
=
""
echo
"Clean build directory"
echo
"Clean build directory"
git clean
-f
-x
${
LAUNCHPAD_DIR
}
/
*
>
/dev/null
git clean
-f
-x
${
LAUNCHPAD_DIR
}
/
*
>
/dev/null
...
@@ -136,10 +137,11 @@ if [ ${IS_RELEASE} ]; then
...
@@ -136,10 +137,11 @@ if [ ${IS_RELEASE} ]; then
fi
fi
SOFTWARE_VERSION
=
"
${
CURRENT_RELEASE_VERSION
}${
VERSION_APPEND
}
"
SOFTWARE_VERSION
=
"
${
CURRENT_RELEASE_VERSION
}${
VERSION_APPEND
}
"
COMMIT_HASH_BEGIN
=
"
${
PREVIOUS_RELEASE_COMMIT_HASH
}
"
COMMIT_HASH_BEGIN
=
"
${
PREVIOUS_RELEASE_COMMIT_HASH
}
"
LAUNCHPAD_CONF_PREFIX
=
"sflphone"
else
else
SNAPSHOT_TAG
=
`
date
+%Y%m%d
`
SOFTWARE_VERSION
=
"snapshot
${
SNAPSHOT_TAG
}
"
SOFTWARE_VERSION
=
"snapshot
${
SNAPSHOT_TAG
}
"
COMMIT_HASH_BEGIN
=
"
${
CURRENT_RELEASE_COMMIT_HASH
}
"
COMMIT_HASH_BEGIN
=
"
${
CURRENT_RELEASE_COMMIT_HASH
}
"
LAUNCHPAD_CONF_PREFIX
=
"sflphone-nightly"
fi
fi
cd
${
LAUNCHPAD_DIR
}
cd
${
LAUNCHPAD_DIR
}
...
@@ -198,24 +200,24 @@ END
...
@@ -198,24 +200,24 @@ END
cd
${
LAUNCHPAD_DIR
}
/
${
LAUNCHPAD_PACKAGE
}
cd
${
LAUNCHPAD_DIR
}
/
${
LAUNCHPAD_PACKAGE
}
./autogen.sh
./autogen.sh
debuild
-S
-sa
-k
CCCC676C
debuild
-S
-sa
-k
FDFE4451
cd
${
LAUNCHPAD_DIR
}
cd
${
LAUNCHPAD_DIR
}
if
[
${
DO_UPLOAD
}
]
;
then
if
[
${
DO_UPLOAD
}
]
;
then
dput
-f
-c
${
LAUNCHPAD_DIR
}
/dput.conf
sflphone
-
${
LAUNCHPAD_DISTRIBUTION
}
${
LAUNCHPAD_PACKAGE
}
_
${
LOCAL_VERSION
}
_source.changes
dput
-f
-c
${
LAUNCHPAD_DIR
}
/dput.conf
${
LAUNCHPAD_CONF_PREFIX
}
-
${
LAUNCHPAD_DISTRIBUTION
}
${
LAUNCHPAD_PACKAGE
}
_
${
LOCAL_VERSION
}
_source.changes
fi
fi
done
done
done
done
# if push is activated
# if push is activated
if
[[
${
DO_PUSH
}
&&
${
IS_RELEASE
}
]]
;
then
#
if [[ ${DO_PUSH} && ${IS_RELEASE} ]];then
echo
" Doing commit"
#
echo " Doing commit"
git commit
-m
"[#1262] Released
${
SOFTWARE_VERSION
}
"
.
#
git commit -m "[#1262] Released ${SOFTWARE_VERSION}" .
#
echo
" Pushing commit"
#
echo " Pushing commit"
git push origin release
#
git push origin release
fi
#
fi
# close file descriptor
# close file descriptor
exec
3>&-
exec
3>&-
...
...
This diff is collapsed.
Click to expand it.
tools/build-system/launchpad/dput.conf
+
18
−
4
View file @
0be07efe
[
sflphone
-
jaunty
]
#[sflphone-jaunty]
#fqdn = ppa.launchpad.net
#method = ftp
#incoming = ~savoirfairelinux/ppa/ubuntu/jaunty
#login = anonymous
#allow_unsigned_uploads = 0
#[sflphone-karmic]
#fqdn = ppa.launchpad.net
#method = ftp
#incoming = ~savoirfairelinux/ppa/ubuntu/karmic
#login = anonymous
#allow_unsigned_uploads = 0
[
sflphone
-
nightly
-
jaunty
]
fqdn
=
ppa
.
launchpad
.
net
fqdn
=
ppa
.
launchpad
.
net
method
=
ftp
method
=
ftp
incoming
= ~
julien
-
bonjean
/
ppa
/
ubuntu
/
jaunty
incoming
= ~
savoirfairelinux
/
sflphone
-
nightly
/
ubuntu
/
jaunty
login
=
anonymous
login
=
anonymous
allow_unsigned_uploads
=
0
allow_unsigned_uploads
=
0
[
sflphone
-
karmic
]
[
sflphone
-
nightly
-
karmic
]
fqdn
=
ppa
.
launchpad
.
net
fqdn
=
ppa
.
launchpad
.
net
method
=
ftp
method
=
ftp
incoming
= ~
julien
-
bonjean
/
ppa
/
ubuntu
/
karmic
incoming
= ~
savoirfairelinux
/
sflphone
-
nightly
/
ubuntu
/
karmic
login
=
anonymous
login
=
anonymous
allow_unsigned_uploads
=
0
allow_unsigned_uploads
=
0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment