Giter Site home page Giter Site logo

railsbuild's Introduction

railsbuild

Scripts to ease the update of Ruby on Rails core packages for Fedora Project.

Usage

./railsbuild FEDORA_VERSION OLD_RAILS_VERSION NEW_RAILS_VERSION

To update Rails from 4.1.4 to 4.1.5 for rawhide:

./railsbuild 22 4.1.4 4.1.5

To change the value for Fedora Rawhide, edit railsbuild-common file.

Requirements

railsbuild needs rpmdev-packager script, fedpkg, koji and git installed.

Components

Each script can be used on its own so you don't have to do the automatic build, but just let railsbuild to prepare the update.

railsbuild-prepare

./railsbuild-prepare FEDORA_VERSION

Prepares directories for the railsbuild scripts including fetching Fedora and upstream repositories at ~/.railsbuild/upstream/rails and ~/.railsbuild/f$FEDORA_VERSION/rubygem-$gem.

railsbuild-fetch-tests

railsbuild-fetch-tests FEDORA_VERSION RAILS_VERSION

Gets the upstream tests from the repository at ~/.railsbuild/upstream/rails and move the gzipped test suites to Fedora git repositories at ~/.railsbuild/f$FEDORA_VERSION/rubygem-$gem.

railsbuild-update-pkgs

./railsbuild-update-pkgs FEDORA_VERSION OLD_RAILS_VERSION NEW_RAILS_VERSION

Prepares the update of all Rails gems at once in Fedora git repositories at: ~/.railsbuild/f$FEDORA_VERSION/rubygem-$gem.

railsbuild-update-bootstrapped

./railsbuild-update-bootstrapped FEDORA_VERSION OLD_RAILS_VERSION NEW_RAILS_VERSION

Prepare the update of previously bootstrapped Rails gems at once in Fedora git repositories at: ~/.railsbuild/f$FEDORA_VERSION/rubygem-$gem.

railsbuild-build

./railsbuild-build FEDORA_VERSION RAILS_VERSION

Does the builds of gems. It always tries to do a scratch-build first and if that goes fine, does a final build. Afterwards it waits for the build to become available and continues with the next gem.

Once all the gems are built, it disable the bootstrapping of previously bootstrapped gems and builds them as well.

railsbuild's People

Contributors

strzibny avatar

Watchers

James Cloos avatar Pavel Valena avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.