******* 1/ Creating a packge for Rawhide ******* ################################################################################# [build@dhcp201-157 fedora-git]$ fedpkg co -B scannotation Cloning into bare repository '/home/build/packages/scannotation/rpkg.git'... The authenticity of host 'pkgs.fedoraproject.org (209.132.181.4)' can't be established. RSA key fingerprint is fe:2e:6a:86:f3:41:e7:03:95:ea:9c:7f:75:9c:ce:9d. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'pkgs.fedoraproject.org,209.132.181.4' (RSA) to the list of known hosts. Enter passphrase for key '/home/build/.ssh/id_rsa': remote: Counting objects: 3, done. remote: Compressing objects: 100% (2/2), done. remote: Total 3 (delta 0), reused 0 (delta 0) Receiving objects: 100% (3/3), done. =================================== [build@dhcp201-157 fedora-git]$ cd scannotation/ ; ls f16 master [build@dhcp201-157 scannotation]$ =================================== [build@dhcp201-157 scannotation]$ cd master/ =================================== [build@dhcp201-157 master]$ ls sources =================================== [build@dhcp201-157 master]$ fedpkg import /home/build/rpmbuild/SRPMS/scannotation-1.0.3-0.2.r12.fc17.src.rpm Uploading: b3e6d4924f4c8a8736eaef1677ab7339 scannotation-1.0.3.Final.tar.xz ######################################################################## 100.0% Uploaded and added to .gitignore: scannotation-1.0.3.Final.tar.xz diff --git a/.gitignore b/.gitignore index e69de29..10831b2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/scannotation-1.0.3.Final.tar.xz diff --git a/License.txt b/License.txt new file mode 100644 index 0000000..3a0f261 --- /dev/null +++ b/License.txt @@ -0,0 +1,14 @@ + Copyright [2011] [Bill Burke ] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + diff --git a/scannotation-1.0.3.Final-remove-dependencies.patch b/scannotation-1.0.3.Final-remove-dependencies.patch new file mode 100644 index 0000000..38bcd4d --- /dev/null +++ b/scannotation-1.0.3.Final-remove-dependencies.patch @@ -0,0 +1,27 @@ +diff -up scannotation-1.0.3.Final/pom.xml.fix scannotation-1.0.3.Final/pom.xml +--- scannotation-1.0.3.Final/pom.xml.fix 2011-12-09 02:37:45.235999604 -0500 ++++ scannotation-1.0.3.Final/pom.xml 2011-12-09 02:39:27.035000678 -0500 -------------------------------------------- New content staged and new sources uploaded. Commit if happy or revert with: git reset --hard HEAD [build@dhcp201-157 master]$ =================================== [build@dhcp201-157 master]$ git commit -m "Initial import for scannotation -- #767226" [master 588dbfe] Initial import for scannotation -- #767226 5 files changed, 145 insertions(+), 0 deletions(-) create mode 100644 License.txt create mode 100644 scannotation-1.0.3.Final-remove-dependencies.patch create mode 100644 scannotation.spec [build@dhcp201-157 master]$ =================================== [build@dhcp201-157 master]$ git status # On branch master # Your branch is ahead of 'origin/master' by 1 commit. # nothing to commit (working directory clean) [build@dhcp201-157 master]$ ==================================== [build@dhcp201-157 master]$ git push Enter passphrase for key '/home/build/.ssh/id_rsa': Counting objects: 9, done. Delta compression using up to 2 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (7/7), 2.56 KiB, done. Total 7 (delta 0), reused 0 (delta 0) To ssh://kashyapc@pkgs.fedoraproject.org/scannotation c3c553f..588dbfe master -> master [build@dhcp201-157 master]$ =================================== [build@dhcp201-157 master]$ git status # On branch master nothing to commit (working directory clean) [build@dhcp201-157 master]$ =================================== [build@dhcp201-157 master]$ fedpkg build Building scannotation-1.0.3-0.2.r12.fc17 for f17-candidate Created task: 3592860 Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=3592860 Watching tasks (this may be safely interrupted)... 3592860 build (f17-candidate, /scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96): open (x86-02.phx2.fedoraproject.org) 3592861 buildSRPMFromSCM (/scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96): free 3592861 buildSRPMFromSCM (/scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96): free -> open (x86-14.phx2.fedoraproject.org) 3592861 buildSRPMFromSCM (/scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96): open (x86-14.phx2.fedoraproject.org) -> closed 0 free 1 open 1 done 0 failed 3592866 buildArch (scannotation-1.0.3-0.2.r12.fc17.src.rpm, noarch): open (x86-14.phx2.fedoraproject.org) 3592866 buildArch (scannotation-1.0.3-0.2.r12.fc17.src.rpm, noarch): open (x86-14.phx2.fedoraproject.org) -> closed 0 free 1 open 2 done 0 failed 3592873 tagBuild (noarch): open (x86-13.phx2.fedoraproject.org) 3592873 tagBuild (noarch): open (x86-13.phx2.fedoraproject.org) -> closed 0 free 1 open 3 done 0 failed 3592860 build (f17-candidate, /scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96): open (x86-02.phx2.fedoraproject.org) -> closed 0 free 0 open 4 done 0 failed 3592860 build (f17-candidate, /scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96) completed successfully ################################################################################# ******* 2/ Building for branches using Switch-branch ******* ================================== [build@dhcp201-157 master]$ git branch * master [build@dhcp201-157 master]$ ================================== [build@dhcp201-157 master]$ fedpkg switch-branch f16 Branch f16 set up to track remote branch f16 from origin. ================================== [build@dhcp201-157 master]$ git branch * f16 master [build@dhcp201-157 master]$ ================================== [build@dhcp201-157 master]$ git merge master Updating c3c553f..588dbfe Fast-forward .gitignore | 1 + License.txt | 14 +++ scannotation-1.0.3.Final-remove-dependencies.patch | 27 +++++ scannotation.spec | 102 ++++++++++++++++++++ sources | 1 + 5 files changed, 145 insertions(+), 0 deletions(-) create mode 100644 License.txt create mode 100644 scannotation-1.0.3.Final-remove-dependencies.patch create mode 100644 scannotation.spec [build@dhcp201-157 master]$ ================================== [build@dhcp201-157 master]$ git log commit 588dbfe1ea6da135e42859636a9f25c9aef1bb96 Author: Kashyap Chamarthy Date: Mon Dec 19 07:11:35 2011 -0500 Initial import for scannotation -- #767226 commit c3c553f1545b7497185c03ffba30feb3cf8c8882 Author: Fedora Release Engineering Date: Wed Dec 14 13:10:43 2011 +0000 Initial setup of the repo [build@dhcp201-157 master]$ ================================== [build@dhcp201-157 master]$ git status # On branch f16 # Your branch is ahead of 'origin/f16' by 1 commit. # nothing to commit (working directory clean) ================================== [build@dhcp201-157 master]$ fedpkg push Enter passphrase for key '/home/build/.ssh/id_rsa': Total 0 (delta 0), reused 0 (delta 0) To ssh://kashyapc@pkgs.fedoraproject.org/scannotation c3c553f..588dbfe f16 -> f16 ================================== [build@dhcp201-157 master]$ git status # On branch f16 nothing to commit (working directory clean) [build@dhcp201-157 master]$ ================================== [build@dhcp201-157 master]$ fedpkg build Building scannotation-1.0.3-0.2.r12.fc16 for f16-candidate Created task: 3593707 Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=3593707 Watching tasks (this may be safely interrupted)... 3593707 build (f16-candidate, /scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96): open (x86-06.phx2.fedoraproject.org) 3593708 buildSRPMFromSCM (/scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96): free 3593708 buildSRPMFromSCM (/scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96): free -> open (x86-05.phx2.fedoraproject.org) 3593708 buildSRPMFromSCM (/scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96): open (x86-05.phx2.fedoraproject.org) -> closed 0 free 1 open 1 done 0 failed 3593877 buildArch (scannotation-1.0.3-0.2.r12.fc16.src.rpm, noarch): open (x86-04.phx2.fedoraproject.org) 3593877 buildArch (scannotation-1.0.3-0.2.r12.fc16.src.rpm, noarch): open (x86-04.phx2.fedoraproject.org) -> closed 0 free 1 open 2 done 0 failed 3593886 tagBuild (noarch): free 3593886 tagBuild (noarch): free -> closed 0 free 1 open 3 done 0 failed 3593707 build (f16-candidate, /scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96): open (x86-06.phx2.fedoraproject.org) -> closed 0 free 0 open 4 done 0 failed 3593707 build (f16-candidate, /scannotation:588dbfe1ea6da135e42859636a9f25c9aef1bb96) completed successfully ================================== ################################################################################# ******* 3/ And, let's push it as an Update to F16 ******* ================================== [build@dhcp201-157 master]$ fedpkg update [ scannotation-1.0.3-0.2.r12.fc16 ] # bugfix, security, enhancement, newpackage (required) type=newpackage # testing, stable request=testing # Bug numbers: 1234,9876 bugs=767226 # Description of your update notes=New package scannotatin, as part of getting RESTEasy into fedora # Enable request automation based on the stable/unstable karma thresholds autokarma=True stable_karma=3 unstable_karma=-3 # Automatically close bugs when this marked as stable close_bugs=True # Suggest that users restart after update suggest_reboot=False ======================= . . . Creating a new update for scannotation-1.0.3-0.2.r12.fc16 Password for kashyapc: Creating a new update for scannotation-1.0.3-0.2.r12.fc16 Update successfully created ================================================================================ scannotation-1.0.3-0.2.r12.fc16 ================================================================================ Release: Fedora 16 Status: pending Type: newpackage Karma: 0 Request: testing Bugs: 767226 - Review Request: scannotation - A Java annotation scanner Notes: New package scannotatin, as part of getting RESTEasy into fedora Submitter: kashyapc Submitted: 2011-12-19 17:27:25 Comments: bodhi - 2011-12-19 17:27:42 (karma 0) This update has been submitted for testing by kashyapc. https://admin.fedoraproject.org/updates/scannotation-1.0.3-0.2.r12.fc16 [build@dhcp201-157 master]$