Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Latest commit

 

History

History
33 lines (26 loc) · 1.59 KB

README.md

File metadata and controls

33 lines (26 loc) · 1.59 KB

🛑 THIS REPOSITORY IS OFFICIALLY NO LONGER UNDER MAINTENANCE since 10/02/2022 🛑

AOSP Changelog Generator

Receive a notification email every time a new git tag is found in AOSP
Will generates a change log between different aosp tags.

This tool works on your local checkout of the AOSP code. Be prepared, have the Repo tool installed and reserve 100GB of disk. For detailed requirementes see source.android.com.

Usage

New tag notification

$ ./check_for_new_build_label.sh <notification email address> <AOSP working directory>

The param AOSP working directory is optional and must specify the absolute path of the directory in which the whole AOSP code will be cloned. If this parameter is passed, when a new tag is found on the remote the creation of the corresponding changelog HTML page is started automatically.

Changelog generation

To generate a changelog between two tags use

$ ./get_gitlog.sh <old tag> <new tag>

from the AOSP working directory.

Changelog publication

Every time a new changelog is generated, it is published in the gh-pages branch of the current repo. This requires the gh-pages branch to exist in the current repo.

The gh-pages branch is cloned in a subdirectory of the generator repo, the changelog is copied from the AOSP_DIRECTORY, committed and pushed, using the script

$ ./upload_to_gh_pages.sh <AOSP working directory>

The param AOSP working directory is mandatory and must specify the absolute path of the directory in which the whole AOSP code has been cloned.