Editing
C&I Wiki Portal/ToolsDevelopmentGuideline
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Submitting Code to the Project == The following will cover how to submit code once you've made changes to your branch. The examples here assume you have already performed the following steps: #Branched lp:opencompute/opencompute-testing. #Made changes or additions #Tested your changes or additions #Committed your changes or additions === Launchpad === As noted early on, you will need to be logged in via bzr to submit code. This is accomplished using the '''bzr launchpad-login''' command: <pre> bzr launchpad-login <YOUR_LAUNCHPAD_USERNAME> </pre> You will likely also need to have created and submitted an SSH key to Launchpad to use for submissions. This is explained here: https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair === Pushing Changes === Once you have committed your changes, you need to push them to YOUR OWN branch on Launchpad. To do so, cd into your branch and do the following: <pre> bzr push lp:~<YOUR LP USERNAME>/opencompute/<YOUR BRANCH NAME> </pre> Example: <pre> bzr push lp:~bladernr/opencompute/ocp-cert-cleanup </pre> === Merge Requests === Once you have pushed your branch to Launchpad, you need to make a merge request. To do so you need to do the following things: # In a web browser, go to http://code.launchpad.net/~YOUR_LAUNCHPAD_USERNAME # Click on the name of the branch you just pushed # Under '''Branch Merges''' click on '''Propose for merging''' # Under '''Target Branch''' select '''Other''' and enter '~opencompute-developers/opencompute/opencompute-testing' # In the Description text box, enter a summary of the changes you made # Click the '''Propose Merge''' button at the bottom of that page This is submit your merge request. At this point, it will be reviewed, commented on, approved or sent back for fixing.
Summary:
Please note that all contributions to OpenCompute may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
OpenCompute:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information