Difference between revisions of "Fedora/Firefox Repository Setup for Nightly and Beta builds"

From CDOT Wiki
Jump to: navigation, search
Line 7: Line 7:
 
Automating the process of RPM building and repository updates for Fedora systems of different architectures.  Architectures such as Firefox (4, 3.6) Beta's and Nightlies.
 
Automating the process of RPM building and repository updates for Fedora systems of different architectures.  Architectures such as Firefox (4, 3.6) Beta's and Nightlies.
  
== Project Leader(s) ==
+
== Project Leaders ==
  
 
*Brett van Gennip
 
*Brett van Gennip
Line 13: Line 13:
 
*Vitalijs Bluzmans
 
*Vitalijs Bluzmans
 
*Tarinur Choudhury
 
*Tarinur Choudhury
 +
 +
== Responsibilities ==
 +
 +
* SPEC File Formation & Desktop Integration - Tarinur is Taking this responsibility.
 +
* Repository Configuration - Vitaly
 +
* Testing Minefield with SELinux and Fedora 13  - Brett
  
 
== Project Contributor(s) ==
 
== Project Contributor(s) ==
Line 20: Line 26:
  
 
== Project News ==
 
== Project News ==
 +
 +
*  November 6th, 2010
 +
 +
'''Progress made on 0.1 Milestone:'''
 +
 +
Please see our latest blog posts on the status of milestone 0.1.  This wiki will feature a brief overview of how the project is progressing.
 +
 +
Brett van Gennip - Testing Minefield with SELinux and Fedora 13
 +
 +
Brett had downloaded Minefield and attempted to replicate the error message that was coming up for people.  Overall, he had no success making the error message show up which proved to be a bit of an issue to how he can understand the issue.  Certain things came up such as: while running firefox, Minefield would not open.  While running Minefield, firefox would not open.  At no point was he able to run both at the same time.  Overall, he plans to speak with people on IRC to try to make some sense of these issues.
 +
 +
Please see blog for more details:
 +
 +
[http://brettvangennip.wordpress.com/2010/11/05/0-1-repository-setup-for-firefox-nightly-and-betas/ Minefield and Firefox]
 +
 +
Tarin -  RPM Building and Repository Setup
 +
 +
Tarin had setup the Repository and made it so that you are able to download the nightly via iraq.proximity.on.ca repository. He has also packaged the nightlies in an RPM format.  Which means that he has created a SPEC file for the RPM to work with Fedora 1x machines in both 32 bit and 64 bit architectures.  Our repository is located at [http://iraq.proximity.on.ca/ffrepo/ Nightly Repository].
 +
 +
Please see blog for more details:
 +
 +
[http://tarinc.wordpress.com/2010/11/05/milestone-1-continued/ Milestone 1 Continued]
 +
 +
Vitaly -  Building Firefox/Fedora Repository
 +
 +
Vitaly had setup the Repository on one of the servers in Seneca's open source room locations.  He had proceeded in creating a script that will automate the process of setting up the repo's into the directory for which they are to be downloaded from.
 +
 +
Our repository is located at [http://iraq.proximity.on.ca/ffrepo/ Nightly Repository].
 +
 +
Please see blog for more details:
 +
 +
[http://vbluzmans.wordpress.com/2010/11/05/in-quest-of-building-firefoxfedora-repository/ Building Firefox/Fedora Repo]
 +
  
 
*  October 12th 2010 Notes
 
*  October 12th 2010 Notes
Line 108: Line 147:
 
== Division of Labour ==
 
== Division of Labour ==
  
* SPEC file - Tarinur is Taking this responsibility.
+
 
* Repo - Vitaly
 
* SELinux - Brett
 
* Desktop integration and testing - Tarinur
 
  
 
== Project Plan ==
 
== Project Plan ==

Revision as of 14:57, 6 November 2010

Project Name

Repository Setup for Mozilla Nightlies and Betas - Firefox Versions (4, 3.6)

Project Description

Automating the process of RPM building and repository updates for Fedora systems of different architectures. Architectures such as Firefox (4, 3.6) Beta's and Nightlies.

Project Leaders

  • Brett van Gennip
  • Yauheni Khabian (Eugene MIA) If your still around please contact us.
  • Vitalijs Bluzmans
  • Tarinur Choudhury

Responsibilities

  • SPEC File Formation & Desktop Integration - Tarinur is Taking this responsibility.
  • Repository Configuration - Vitaly
  • Testing Minefield with SELinux and Fedora 13 - Brett

Project Contributor(s)

  • Chris Tyler
  • Armen Zambrano Gasparnian

Project News

  • November 6th, 2010

Progress made on 0.1 Milestone:

Please see our latest blog posts on the status of milestone 0.1. This wiki will feature a brief overview of how the project is progressing.

Brett van Gennip - Testing Minefield with SELinux and Fedora 13

Brett had downloaded Minefield and attempted to replicate the error message that was coming up for people. Overall, he had no success making the error message show up which proved to be a bit of an issue to how he can understand the issue. Certain things came up such as: while running firefox, Minefield would not open. While running Minefield, firefox would not open. At no point was he able to run both at the same time. Overall, he plans to speak with people on IRC to try to make some sense of these issues.

Please see blog for more details:

Minefield and Firefox

Tarin - RPM Building and Repository Setup

Tarin had setup the Repository and made it so that you are able to download the nightly via iraq.proximity.on.ca repository. He has also packaged the nightlies in an RPM format. Which means that he has created a SPEC file for the RPM to work with Fedora 1x machines in both 32 bit and 64 bit architectures. Our repository is located at Nightly Repository.

Please see blog for more details:

Milestone 1 Continued

Vitaly - Building Firefox/Fedora Repository

Vitaly had setup the Repository on one of the servers in Seneca's open source room locations. He had proceeded in creating a script that will automate the process of setting up the repo's into the directory for which they are to be downloaded from.

Our repository is located at Nightly Repository.

Please see blog for more details:

Building Firefox/Fedora Repo


  • October 12th 2010 Notes
  • BUGZILLA - 600317

lists.fedoraproject.org/mailman/listinfo

Problem -->

When you download the nightlies you get a set of source code. This is inconvenient and adds another step for people to start testing the nighties and Beta versions of the software.

WE NEED betas to co-exist with the firefox Original working package.


  • Day One Notes - October 8th 2010

Project: Repository Setup for Mozilla Nightlies and Betas Many web developers want access to the latest Firefox pre-releases, including the nightly builds and beta releases. Mozilla's build team wants to make these accessible as parallel-installable binaries, released through a Fedora-compatible repository. This project involves setting this up.

Subprojects:

  • Build configuration for the RPM files.
  • Repository configuration RPMs.
  • Getting SELinux to work with the nightlies.


Website --> Firefox Nightlies

point 1 install repositories installing a YUM system to grab Point 2 installation of the Repositories point 3 create account on bugzilla

2 repositories for x86 and 64-bit --> producting the rpms

Creating spec files for nightlies ...

pull in nightly build and package

automate it using a script from the website

repository setup -> signing it -->

create the rpm for the repo

seperate nightlies and beta?? AND x86 and 64-bit ??

--> Problem --> Getting SELinux to work with the nightlies.


Project Details

  • Target: Current Fedora releases (right now that's

Approach to packaging:

  1. Pull from a standard URL (as of now http://nightly.mozilla.org/) (armenzg-TODO: get fixed URL to latest)
  2. Package that binary nightly/beta as an RPM
  3. Add to a repository and regenerate/update metadata

Approach to repo access:

  1. Make a repo "release" RPM that provides .repo file and public key

Approach to SELinux:

  1. Modify the RPM packaging to setup SELinux appropriately
    • File labels and policy need to be managed in the RPM package

Installation locations:

  • Must not conflict with distro-provided install locations
  • Should be in the standard path
  • Should start up with a --profile-manager
  • Should appear in the graphical menus, with a different name than the stable release
  • Make appear on the GUI menus - Minefield (Firefox nightly) - Firefox (Developer Preview)

Deployment

  • Deploy on HW in CDOT initially (which machine?)
  • Deliver scripts to Armen for deployment on Mozilla infra

Release Targets

  • 0.1 - Proof of concept
  • 0.2 - Cleaned-up release
  • 0.3 - Scripts delivered to Armen

Division of Labour

Project Plan

  • 0.1 - Proof of concept

Setup any package to be acquired from our repository Installing the repository VIA an RPM


  • 0.2 - Cleaned-up release

Manual creation of the SPEC file with the BETA Version to create a functional RPM After tested and satisfied with the results TEST with NIGHTLY Packages

  • 0.3 - Scripts delivered to Armen