summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)AuthorFilesLines
2021-01-07bin/gen_calendar_entries: Add support for making a releaseDylan Baker2-1/+179
Acked-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8341>
2021-01-07bin/gen_calendar_entries: Add support for extending a releaseDylan Baker2-10/+167
Acked-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8341>
2021-01-07bin: Add script for manipulating the release calendarDylan Baker2-0/+237
Currently it only handles creating entries for a new rc. Acked-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8341>
2021-01-07docs: store the release-calendar information in csv (and fix tests)Dylan Baker2-150/+54
Restructured text (and markdown) is painful to programatically manipulate, most python parsers are geared towards writing markdown and generating html. I'd like to move the calendar updates to being scripted, as such using csv to store them will be convenient. This also allows us to simplify our scripting that manipulates the table considerably. Acked-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8341>
2021-01-06bin/remove get-pick-list.sh filesDylan Baker2-195/+0
These haven't been used for a long time, they've been supersceeded by pick-ui Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7863>
2021-01-06pick-ui: don't handle the mouseDylan Baker1-1/+1
It's annoying, since it prevents linux "midle click" copy-n-paste Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7863>
2020-12-15mapi: Fix symbols check with ASan enabled.Eric Anholt1-0/+2
ASan apparently introduces public symbols with __odr_asan as the prefix. Fixes unit tests when building with ASan. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7936>
2020-10-19android_stub: Update platform headers to include gralloc1.h.Eric Anholt1-1/+2
This header is used in anv and radv, and soon turnip. Since the script just checks out master, this also bumps the headers to upstream 02dfcc7c1562 ("Merge "Merge Android R"") Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6821>
2020-10-14symbols-check: Add __cxa_guard_* to the list of approved symbols.Eric Anholt1-1/+3
These are introduced by the compiler during static local initialization in c++ for thread safety. This seems to end up being public in the driver with --static-libc++ on android. Reviewed-by: <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6700>
2020-09-30bin/gen_release_notes.py: escape special rST charactersEric Engestrom1-4/+18
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6869>
2020-08-08pick-ui: specify git commands in "resolve cherry pick" messageEric Engestrom1-2/+2
Cc: mesa-stable Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6134>
2020-08-05ci: Include enough Android headers to let us compile test EGLKristian H. Kristensen1-0/+53
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>
2020-07-24bin/khronos-update: add workaround for python bug 9625Eric Engestrom1-1/+4
The bug causes `choices` to break `nargs='*'`. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6057>
2020-07-24bin/khronos-update: add support for the SPIRV filesEric Engestrom1-0/+11
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6004>
2020-07-24bin/khronos-update: having a folder in include/ is not a requirementEric Engestrom1-3/+4
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6004>
2020-07-22bin/gen_release_notes: automatically commit release notesEric Engestrom1-0/+5
Cc: mesa-stable Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5833>
2020-07-22post_version.py: fix relnotes linksEric Engestrom1-1/+5
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928>
2020-07-22post_version.py: update the files in the current worktree, not the one with ↵Eric Engestrom1-2/+2
the script that we run Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928>
2020-07-22post_version.py: stop using non-existent functions and fix commit messageEric Engestrom1-3/+2
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928>
2020-07-22post_version.py: drop incorrect conf.py changesEric Engestrom1-28/+0
This needs to be done in the mesa3d.org repo; see https://gitlab.freedesktop.org/mesa/mesa3d.org/-/merge_requests/19 Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928>
2020-07-22post_version.py: don't generate relnotes twiceEric Engestrom1-1/+0
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928>
2020-07-10bin/gen_release_notes.py: drop new_features.txt when we release XX.Y.0Eric Engestrom1-0/+1
Otherwise, we (rightfully) get a warning about having new features in a bugfix release. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5416>
2020-07-10introduce `commit_in_branch.py` script to help devs figure this outEric Engestrom2-0/+257
It's been pointed out to me that determining whether a commit is present in a stable branch is non-trivial (cherry-picks are a pain to search for) and the commands are hard to remember, making it too much to ask. This script aims to solve that problem; at its simplest form, it only takes a commit and a branch and tells the user whether that commit predates the branch, was cherry-picked to it, or is not present in any form in the branch. $ bin/commit_in_branch.py e58a10af640ba58b6001f5c5ad750b782547da76 fdo/20.1 Commit e58a10af640ba58b6001f5c5ad750b782547da76 is in branch 20.1 $ echo $? 0 $ bin/commit_in_branch.py dd2bd68fa69124c86cd008b256d06f44fab8e6cd fdo/20.1 Commit dd2bd68fa69124c86cd008b256d06f44fab8e6cd was backported to branch 20.1 as commit d043d24654c851f0be57dbbf48274b5373dea42b $ echo $? 0 $ bin/commit_in_branch.py master fdo/20.1 Commit 2fbcfe170bf50fcbcd2fc70a564a4d69096d968c is NOT in branch 20.1 $ echo $? 1 Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5306>
2020-07-10bin/symbols-check.py: add --ignore-symbol argumentPierre-Eric Pelloux-Prayer1-0/+5
This will be used by radv to ignore 'the ac_init_llvm_once' symbol, which is not part of vulkan-icd-symbols.txt but is required to be exported to improve interop with radeonsi/vaapi. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5648>
2020-06-23bin/symbols-check: explain C++ symbols workaroundEric Engestrom1-2/+4
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5556>
2020-06-18khronos-update.py: add script to simplify update of Khronos headers & xml filesEric Engestrom1-0/+202
The idea is to have the canonical source of each of those files available without having to remember anything, and to be able to update all the Vulkan files by simply running `bin/khronos-update.py vulkan`. The script also handles the fact all the EGL/GL/GLES* headers depend on the KHR header, and the former should not be updated without updating the latter. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5177>
2020-06-13post_version.py: update script to the new rST way of thingsEric Engestrom1-83/+59
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4630>
2020-06-13gen_release_notes.py: update script to the new rST way of thingsEric Engestrom1-60/+45
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4630>
2020-06-13bin/perf-annotate-jit.py: update internal referenceErik Faye-Lund1-1/+1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4630>
2020-05-23tree-wide: fix deprecated GitLab URLsEric Engestrom1-10/+10
They will stop working in the next GitLab release, so let's update them ASAP to make sure things are propagated to everyone by then. See: https://about.gitlab.com/releases/2020/05/06/gitlab-com-13-0-breaking-changes/#removal-of-deprecated-project-paths Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Eric Engestrom <eric@engestrom.ch> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5111>
2020-05-20git_sha1_gen.py: fix whitespaceEric Engestrom1-1/+2
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5112>
2020-05-20git_sha1_gen.py: fix code styleEric Engestrom1-1/+1
Bare `except` are bad form as per PEP8. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5112>
2020-05-20git_sha1_gen.py: fix out-of-date commentEric Engestrom1-1/+0
This hasn't been true since 7088622e5fb506b64c90 ("buildsys: move file regeneration logic to the script itself") almost 3 years ago. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5112>
2020-05-13post_version.py: stop adding release candidates to the index and relnotesEric Engestrom1-4/+8
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2870 Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4929>
2020-05-13post_version.py: invert `is_point` into `is_first_release` to make its ↵Eric Engestrom1-9/+7
purpose clearer Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4929>
2020-05-13post_version.py: fix branch name construction for release candidatesEric Engestrom1-2/+13
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2870 Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4929>
2020-05-01scripts: remove unittest.mock dependency when not usedAndres Gomez1-2/+0
Found upon inspection. Signed-off-by: Andres Gomez <agomez@igalia.com Reviewed-and-Tested-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4840>
2020-04-21pick-ui: show commit sha in the pick listEric Engestrom1-1/+1
Useful to get more context when a manual merge is needed, for instance. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4651>
2020-04-21pick-ui: make .pick_status.json path relative to the git root instead of the ↵Eric Engestrom1-1/+4
script This allows the script to be called from another git worktree for instance, which I need for my workflow :) Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4649>
2020-04-21pick-ui: compute .pick_status.json path only onceEric Engestrom1-7/+6
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4649>
2020-04-20pick-ui: auto-scroll the feedback windowEric Engestrom1-0/+2
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4650>
2020-04-20bin/pick-ui: Add a new maintainer script for picking patchesDylan Baker5-0/+1142
In the long term the goal of this script is to nearly completely automate the process of picking stable nominations, in a well tested way. In the short term the goal is to provide a better, faster UI to interact with stable nominations. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3608>
2020-04-20bin/gen_release_notes.py: Fix version detection for .0 releaseDylan Baker2-37/+15
The previous version is being calculated incorrectly, resulting in 20.0.0 deciding it's version is 19.3.x+1. This fixes that. Fixes: 3226b12a09bbcbd25526fd6da6257057d26ddb31 ("release: Add an update_release_calendar.py script") Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4070>
2020-03-12gen_release_notes: resolve ambiguity by renaming `version` to ↵Eric Engestrom1-10/+10
`previous_version` and `next_version` to `this_version` Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4113> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4113>
2020-03-12gen_release_notes: fix version in "you should wait" messageEric Engestrom1-1/+1
Fixes: 86079447da1e00d49db0 ("scripts: Add a gen_release_notes.py script") Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4113>
2020-03-07gen_release_notes: fix vulkan version reportedEric Engestrom1-1/+1
Fixes: 4ef3f7e3d37ece7b4339 ("anv: Enable Vulkan 1.2 support") Fixes: 7f5462e349a3f082e294 ("radv: enable Vulkan 1.2") Fixes: 75755e0eba17f8500367 ("turnip: Pretend to support Vulkan 1.2") Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4092>
2020-03-06bin/gen_release_notes.py: fix commit list commandEric Engestrom1-1/+1
Fixes: 86079447da1e00d49db0 ("scripts: Add a gen_release_notes.py script") Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4069> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4069>
2020-03-05bin/post_version.py: Make the git commit as well.Dylan Baker2-0/+10
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2505>
2020-03-05bin/post_version.py: Pretty print the htmlDylan Baker1-3/+3
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2505>
2020-03-05bin/post_version.py: Update the release calendar as wellDylan Baker2-0/+190
Acked-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2505>