Give instructions for creating the first bzr trunk for new projects

Bug #435737 reported by Stuart Langridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

After creating a new Launchpad project, Launchpad tells you how to get the first batch of code into it:

-------from https://launchpad.net/$PROJECT/trunk-----------
Code for this series

You haven't yet told Launchpad where your source code is for $PROJECT trunk series.

    * If the code is already in a Bazaar branch registered with Launchpad link the branch to this series.
    * If the code is in a Bazaar branch not yet on Launchpad you can either
          o Have the branch mirrored from a remote location by registering a mirrored branch
          o Push the branch directly to Launchpad. eg. with
            bzr push lp:~$YOU/$PROJECT/trunk
    * If the code is in git, CVS or Subversion you can request that the branch be imported to Bazaar.
---------end cut-----------------------

This basically assumes that your project is already in source control somewhere other than Launchpad! It does not help someone who has just been developing code on their machine without SCM and now wants to put the project on Launchpad to get the benefits of bzr and collaboration.

I suggest adding another option to that list:
    * If the code is not in any source control system at all:
          o Create a "trunk" folder and copy your source code into it
          o Make that trunk folder a bzr branch and then send it to Launchpad as the trunk series of your project:
              - bzr init; bzr add; bzr commit -m "Initial import"; bzr push lp:~$YOU/$PROJECT/trunk

Revision history for this message
Stuart Langridge (sil) wrote :

Oops. Also add as the last line of that proposed extra option:
        - Then link that branch lp:~$YOU/$PROJECT/trunk to this series
(with "link that branch" as a link to the link branch page)

For extra credit, have following that "link that branch" link actually fill in lp:~$YOU/$PROJECT/trunk as the branch to link when the "link a branch" form is displayed. (This will not be required when bug 396523 is fixed.)

Revision history for this message
Karl Fogel (kfogel) wrote :

Or better yet, just link to https://help.launchpad.net/, where we're maintaining https://help.launchpad.net/Code/QuickStart anyway.

tags: added: launchpad-documentation
Curtis Hovey (sinzui)
affects: launchpad → launchpad-registry
Changed in launchpad-registry:
importance: Undecided → Low
status: New → Triaged
Curtis Hovey (sinzui)
tags: added: projects series
Curtis Hovey (sinzui)
tags: added: docs
removed: launchpad-documentation
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.