GithubHelp home page GithubHelp logo

firefox-scripts's People

Contributors

andreasstieger avatar msirringhaus avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

vdedyukhin

firefox-scripts's Issues

Merge TB and FF create-tar.sh

Find a possibility to have create-tar.sh work for both FF and TB.
If not, sync them as close as possible in order to merge updates from one to the other quickly.

[Discussion] Split create-tar.sh

Currently, we copy the whole of create-tar.sh into OBS.
So there is the chance that changes to one create-tar.sh do not get merged to other OBS branches, having several similar but different scripts hanging around (which is the state I started from).

In principle, this github repo here should prevent this.
But there are two problems I see:

  1. Keeping this repo conflict free will probably be a bit challenging, if we only copy the final create-tar.sh into it from whatever FF or TB version we just built. The main content stays the same, but RELEASE_TAG, VERSION and so on change, which will probably lead to some merge conflicts.
    This is not too bad, but would cause some workflow-friction nonetheless.
  2. There are 2 additional step right now: copying create-tar.sh to your build-dir, and after editing and running, copy it back to this repo. This final step can easily be forgotten and thus possible changes lost, or at least made branches inconsistent.

To prevent this, I propose to split off the first few lines from create-tar.sh, so basically contain only the "source stamp info". Lets call it something like tar_stamps, which would look like:

$ cat tar_stamps
PRODUCT="firefox"
CHANNEL="esr68"
FF_RELEASE_TAG=""
PREV_VERSION="68.0"
PREV_VERSION_SUFFIX="b11"
VERSION="68.0"
VERSION_SUFFIX="b14"

The rest of create-tar.sh would simply go into your $PATH and get this stamp-file as a commandline argument, source it, and start working.

firefox-scripts would not get these stamp-files, but firefox-maintenance and OBS would (but would not get create-tar.sh)

With that approach accidental "lost/unmerged changes" to create-tar.sh will get very unlikely, as it will not be copied anymore at all, but lives in the repo, which should be part of your $PATH.

For a new version, you only copy the tar_stamps from the last version and adapt those 7 lines.

Comments?

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.