source: trunk/misc/python3/depgraph.sh

Last change on this file was 65a1040, checked in by Sajith Sasidharan <sajith@…>, at 2021-08-31T13:58:43Z

Update references to the mailing list

New list is tahoe-dev@…, list info page is at
https://lists.tahoe-lafs.org/mailman/listinfo/tahoe-dev, and list
archives are now at https://lists.tahoe-lafs.org/pipermail/tahoe-dev/.

Sadly message numbers in list archive seem to have changed, so
updating references to list archive is not as simple as prefixing
list.

  • Property mode set to 100755
File size: 775 bytes
Line 
1#!/usr/bin/env bash
2
3set -x
4set -eo pipefail
5
6TAHOE="${PWD}"
7git clone -b gh-pages git@github.com:tahoe-lafs/tahoe-depgraph.git
8cd tahoe-depgraph
9
10# Generate the maybe-changed data.
11python "${TAHOE}"/misc/python3/tahoe-depgraph.py "${TAHOE}"
12
13if git diff-index --quiet HEAD; then
14  echo "Declining to commit without any changes."
15  exit 0
16fi
17
18git config user.name 'Build Automation'
19git config user.email 'tahoe-dev@lists.tahoe-lafs.org'
20
21git add tahoe-deps.json tahoe-ported.json
22git commit -m "\
23Built from ${CIRCLE_REPOSITORY_URL}@${CIRCLE_SHA1}
24
25tahoe-depgraph was $(git rev-parse HEAD)
26"
27
28if [ "${CIRCLE_BRANCH}" != "master" ]; then
29    echo "Declining to update dependency graph for non-master build."
30    exit 0
31fi
32
33# Publish it on GitHub.
34git push -q origin gh-pages
Note: See TracBrowser for help on using the repository browser.