https://github.com/operasoftware/upstreamtools
Showing upstreamed patches from Opera
https://github.com/operasoftware/upstreamtools
Last synced: 10 months ago
JSON representation
Showing upstreamed patches from Opera
- Host: GitHub
- URL: https://github.com/operasoftware/upstreamtools
- Owner: operasoftware
- Created: 2013-06-18T11:58:27.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2019-05-27T15:35:00.000Z (about 7 years ago)
- Last Synced: 2024-04-14T06:01:55.513Z (about 2 years ago)
- Language: Python
- Homepage: https://operasoftware.github.io/upstreamtools/
- Size: 31.7 MB
- Stars: 23
- Watchers: 36
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Opera upstreamtools
===================
A script to create [a web page](https://operasoftware.github.io/upstreamtools/) 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.