Nick Yeates
2011-11-24 17:42:15 UTC
Nick Yeates [http://community.zenoss.org/people/nyeates] created the discussion
"Developers: Sync your existing ZenPack with Github"
To view the discussion, visit: http://community.zenoss.org/message/62833#62833
--------------------------------------------------------------
As we have http://community.zenoss.org/blogs/zenossblog/2011/11/02/we-aim-to-improve-the-zenpack-landscape-and-we-need-your-help announced, we have moved all of the Community ZenPack code and process to http://github.com/zenoss Github.com/zenoss . This means that *existing ZenPack developers have code that they may have updated, yet is not reflecting on github*. Below explains how you can get your existing ZenPack code sync'ed up with the existing github.com/zenoss master repository.
h1. Instructions
All steps below are detailed here: http://community.zenoss.org/docs/DOC-8495 ZenPack Development Process and summarized http://community.zenoss.org/docs/DOC-8495#Quick_Commands In Quick Commands
1. Assure that github account is attained, git is installed and setup
2. Create a separate directory for your ZenPacks* It is http://community.zenoss.org/docs/DOC-8495#separateDirBestPractice good practice to assure that your developed ZenPacks are separate from +$ZENHOME/ZenPacks+ ; maybe make a +/gitrepos dir+
* You will reinstall the ZenPacks in this new dir later with the +--link+ command option, so that the ZenPack installs in place
3. Follow http://community.zenoss.org/docs/DOC-8495#A_If_existing_ZenPack_on_githubcomzenoss #1A Fork and Clone
4. Get into the newly cloned directory ( Ex: +cd /gitrepos/ZenPacks.community.myZenPack+ )
5. Bring new content into this repository* method A: manually bring over the files that you know you updated; good if its just a few files; advised if possible
* method B: +rsync -av old new && git diff+* Note: a conflict could occur, and code lost, if another person has worked on your zenpack in your absence. Be smart.+
+
6. Insert needed files1. .gitignore file into root repo directory (IMPORTANT)* wget https://raw.github.com/zenoss/Community-ZenPacks-SubModules/master/.gitignore https://raw.github.com/zenoss/Community-ZenPacks-SubModules/master/.gitignore
2. /docs/DOC-8495#README.markdown README.markdown* The new replacement for ZenPack documentation; At the least, type a sentance
7. +zenpack --link --install <zenpack_name>+
8. Follow steps http://community.zenoss.org/docs/DOC-8495#3_Committing_Changes_Locally #3 Commit locally , http://community.zenoss.org/docs/DOC-8495#6_Pushing_Changes_to_Personal_Github #6 Push to personal github , and http://community.zenoss.org/docs/DOC-8495#7_Publishing_to_Main_Zenoss_Github_Repo #7 Pull request to main github
9. Fill out the google docs https://docs.google.com/a/zenossinc.com/spreadsheet/viewform?hl=en_US&formkey=cHBDaFowMkl0XzdnRmFLWHAzcHZMRFE6MQ#gid=0 Submission Form to let us know
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62833#62833]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Developers: Sync your existing ZenPack with Github"
To view the discussion, visit: http://community.zenoss.org/message/62833#62833
--------------------------------------------------------------
As we have http://community.zenoss.org/blogs/zenossblog/2011/11/02/we-aim-to-improve-the-zenpack-landscape-and-we-need-your-help announced, we have moved all of the Community ZenPack code and process to http://github.com/zenoss Github.com/zenoss . This means that *existing ZenPack developers have code that they may have updated, yet is not reflecting on github*. Below explains how you can get your existing ZenPack code sync'ed up with the existing github.com/zenoss master repository.
h1. Instructions
All steps below are detailed here: http://community.zenoss.org/docs/DOC-8495 ZenPack Development Process and summarized http://community.zenoss.org/docs/DOC-8495#Quick_Commands In Quick Commands
1. Assure that github account is attained, git is installed and setup
2. Create a separate directory for your ZenPacks* It is http://community.zenoss.org/docs/DOC-8495#separateDirBestPractice good practice to assure that your developed ZenPacks are separate from +$ZENHOME/ZenPacks+ ; maybe make a +/gitrepos dir+
* You will reinstall the ZenPacks in this new dir later with the +--link+ command option, so that the ZenPack installs in place
3. Follow http://community.zenoss.org/docs/DOC-8495#A_If_existing_ZenPack_on_githubcomzenoss #1A Fork and Clone
4. Get into the newly cloned directory ( Ex: +cd /gitrepos/ZenPacks.community.myZenPack+ )
5. Bring new content into this repository* method A: manually bring over the files that you know you updated; good if its just a few files; advised if possible
* method B: +rsync -av old new && git diff+* Note: a conflict could occur, and code lost, if another person has worked on your zenpack in your absence. Be smart.+
+
6. Insert needed files1. .gitignore file into root repo directory (IMPORTANT)* wget https://raw.github.com/zenoss/Community-ZenPacks-SubModules/master/.gitignore https://raw.github.com/zenoss/Community-ZenPacks-SubModules/master/.gitignore
2. /docs/DOC-8495#README.markdown README.markdown* The new replacement for ZenPack documentation; At the least, type a sentance
7. +zenpack --link --install <zenpack_name>+
8. Follow steps http://community.zenoss.org/docs/DOC-8495#3_Committing_Changes_Locally #3 Commit locally , http://community.zenoss.org/docs/DOC-8495#6_Pushing_Changes_to_Personal_Github #6 Push to personal github , and http://community.zenoss.org/docs/DOC-8495#7_Publishing_to_Main_Zenoss_Github_Repo #7 Pull request to main github
9. Fill out the google docs https://docs.google.com/a/zenossinc.com/spreadsheet/viewform?hl=en_US&formkey=cHBDaFowMkl0XzdnRmFLWHAzcHZMRFE6MQ#gid=0 Submission Form to let us know
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62833#62833]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]