Diff for "BuildBranchToArchiveUI"

Not logged in - Log In / Register

Differences between revisions 3 and 4
Revision 3 as of 2010-01-27 10:54:53
Size: 1599
Comment:
Revision 4 as of 2010-01-27 14:59:32
Size: 3494
Comment: More drafting
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
== Target user audience == == Target user audiences ==
(draft)
 * Current users of bzr-builder for daily builds...
 * Opportunistic programmers...
 * QA-leads for large projects...
Line 21: Line 25:
Please feel free to expand, correct or add further use-cases.

=== Manual build of the latest branch revision ===

Guilherme has his own branch of the Toggle project and would like to build and publish the resulting package in his PPA, using the available packaging branch from the distroseries.

While viewing the branch page, Guilherme:
 1. Clicks on the "Build now" button,
 1. An overlay appears displaying the a default recipe that will be used (with the base branch updated , and a selector which can be used to choose another recipe (

Questions:
 1. Currently Recipes are *branch*-specific (SPRD.base_branch) rather than packaging-branch-specific? This means that a new recipe is required for each branch of a project, even though they may all use the same packaging branch. If it was the other way around, it would be possible to re-use the recipe for different branches... although, perhaps this is already possible as the manifest will be created with the SPRBuild, can it have a different base_branch?

 1. Is it possible for us to determine the

=== Manual build of a specific branch revision ===

Yong-sik works on the ereader project and has a number of PPAs including
'ereader_daily' and 'ereader_beta'. He would like to build a specific revision of ereader and publish the result in his personal PPA. If all goes well, he'll copy this source and resulting binaries into the ereader_beta PPA.

Yong-Sik opens the Launchpad page for his devel branch and then:
 1. clicks "Build

=== Daily builds ===

Yong-sik works on the ereader project and has a number of PPAs including
'ereader_daily' and 'ereader_beta'. He now wants to automate his daily builds.

Yong-sik opens the Launchpad page for his devel branch and...

The UI issue: unnecessary complexity

Although it is possible for Launchpad users to build a source package from a branch and publish it in their PPA using the bzr-builder plugin, we can radically reduce the complexity of this process and remove the need to transfer data in and out of Launchpad unnecessarily, as nearly all the data is already there on Launchpad (everything except the recipe specifying which branches/revisions to use for the source package).

Goals

The /~username/... page should..

Clean-up...

  • The source package branch page needs a PPA/distro picker and a build button to start a build. Obviously the pickers will be sensitive to upload permissions. [Check - the wording here implies setting a default ppa for subsequent builds, rather than selecting the PPA when clicking on 'Build now'? -- michael.nelson 2010-01-25 15:37:34]

  • The destination target needs a progress indicator. For PPAs, the detail packages page should show the source package in the construction (builddeb) phase, which conceptually is before anything it shows right now.
  • It would be nice if, when displaying the result in the PPA, something like "There is a newer revision available for this source package branch [build now].

Target user audiences

(draft)

  • Current users of bzr-builder for daily builds...
  • Opportunistic programmers...
  • QA-leads for large projects...

Use-cases

Please feel free to expand, correct or add further use-cases.

Manual build of the latest branch revision

Guilherme has his own branch of the Toggle project and would like to build and publish the resulting package in his PPA, using the available packaging branch from the distroseries.

While viewing the branch page, Guilherme:

  1. Clicks on the "Build now" button,
  2. An overlay appears displaying the a default recipe that will be used (with the base branch updated , and a selector which can be used to choose another recipe (

Questions:

  1. Currently Recipes are *branch*-specific (SPRD.base_branch) rather than packaging-branch-specific? This means that a new recipe is required for each branch of a project, even though they may all use the same packaging branch. If it was the other way around, it would be possible to re-use the recipe for different branches... although, perhaps this is already possible as the manifest will be created with the SPRBuild, can it have a different base_branch?
  2. Is it possible for us to determine the

Manual build of a specific branch revision

Yong-sik works on the ereader project and has a number of PPAs including 'ereader_daily' and 'ereader_beta'. He would like to build a specific revision of ereader and publish the result in his personal PPA. If all goes well, he'll copy this source and resulting binaries into the ereader_beta PPA.

Yong-Sik opens the Launchpad page for his devel branch and then:

  1. clicks "Build

Daily builds

Yong-sik works on the ereader project and has a number of PPAs including 'ereader_daily' and 'ereader_beta'. He now wants to automate his daily builds.

Yong-sik opens the Launchpad page for his devel branch and...

Initial design proposal

Unresolved questions

BuildBranchToArchiveUI (last edited 2010-03-24 08:24:30 by michael.nelson)