GithubHelp home page GithubHelp logo

bhanditz / upstreamtools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from operasoftware/upstreamtools

0.0 2.0 0.0 30.48 MB

Showing upstreamed patches from Opera

Home Page: https://operasoftware.github.io/upstreamtools/

Python 57.84% HTML 30.19% Shell 11.98%

upstreamtools's Introduction

Opera upstreamtools

A script to create a web page tracking upstreamed code to the Chromium project from Opera.

Getting started

Get the source:

git clone https://github.com/operasoftware/upstreamtools
cd upstreamtools

Install the requirements (possibly inside a virtualenv):

pip install -r requirements.txt

Get the required upstream repositories:

git clone --bare https://chromium.googlesource.com/chromium/src.git chromium.src.git
git clone --bare https://github.com/v8/v8.git v8.git
git clone --bare https://chromium.googlesource.com/skia.git skia.git
git clone --bare https://boringssl.googlesource.com/boringssl.git boringssl.git

Generate the file:

python generate_upstream_list.py > upstream.html

Updating the overview

There's a simple script which should be able to do the work for you. It will generate the list, switch to the gh-pages branch and commit it. If you run it with the push argument it will even try to push it for you.

./update_overview.sh [push]

Updating the overview manually

Update the Git checkouts.

for p in chromium.src v8; do git --git-dir=$p.git fetch; done

Generate the file, switch branch and check in there.

python generate_upstream_list.py > upstream.html
git checkout gh-pages
mv upstream.html index.html
git commit -m "Update upstream overview." index.html

NOTE: It should normally only add new entries. Check if it does something else. If you did not clone the upstreames like mirrors, the master branch won't always be poining at the newest point in history. You will have to do a git pull or similar in your working directory.

License

Copyright 2014-2018 Opera Software

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

upstreamtools's People

Contributors

odinho avatar mostynb avatar mathiasbynens avatar bratell-at-opera avatar alrra avatar hokein avatar

Watchers

James Cloos 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.