Minefield Automation

In preparation of handing this project off to the Mozilla folks I have been working on finalizing the last couple of things left to do on this project. Unfortunately its that time of the semester again where all the teachers just bombard you with work they were to lazy to give out earlier. However from where we stand now I can only see about 2 little hick ups left which im not quite sure we will be able to tackle.

  • Automatic rpm signing:
    This is fairly easy from what ive read. A package called “expect” is capable of providing exactly what we need. The only problem is that the password must be inside the automation scripts in plain text.
  • Dynamically downloading source code:
    Currently the source code is downloaded from Mozilla’s FTP server however the URL used to get the code is: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-4.0b8pre.en-US.linux-x86_64.tar.bz2
    Curious to see the amount of errors that come out when the version number changes.

Our Proof of Concept server’s Apache is currently down, honestly not surprised, when you give root password to people that may not know exactly what their doing; usually results in disaster. Ive attempted to fix Apache however fixing something is just too much work especially if you don’t know what exactly changed. I just moved the automation scripts to another server and that server has been running fine. The server i will be using from now on is: http://chile.proximity.on.ca/ffrepo/

Unfortunately moving stuff is easy for me however anyone with the repository will have to do some work to get it working again:

  • Download and install the latest RPM from here
  • Your back!

Moving servers also means that the key included with the RPM is now invalid; although that really doesn’t matter at this point since gpgcheck is still disabled and the packages still haven’t been signed.

I will try to get some time to post some pseudo code for the automation scripts very soon.

Advertisement
Post a comment or leave a trackback: Trackback URL.

Comments

  • Armen Zambrano G.  On December 7, 2010 at 9:50 AM

    Good post!
    BTW the b8pre version might bump this week as we are getting close to have zero beta8 blockers and we can issue the beta.
    https://bugzilla.mozilla.org/buglist.cgi?quicksearch=blocking2.0%3Abeta8

    What is the difference of noarch.rpm and src.rpm?
    What is the 0.3.2 numbering for? Could we do instead 2010.12.3.0? (the last 0 just in
    Something like what I see in http://chile.proximity.on.ca/ffrepo/i686/
    case we want to issue a second nightly build).
    What is the difference from “noarch” and “i686/x86_64″?

    I am going to try to generate the rpm myself and then the repo.

    • tarinc  On December 8, 2010 at 1:39 AM

      I attempted to explain the way the repository is set up in this post.

      I will send you the scripts to create the RPMS automatically as soon as I’m comfortable with them which should be sometime this week.

      Ill try to post some type of documentation which will ease the creation of the repository.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.