Eric Engestrom
b3f517b988
gen_release_notes: include links in relnotes.rst when generating the new release note
...
This is required to allow the docs to build, which in turn is required
if we want to allow merge requests against release (staging) branches.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20460 >
2023-01-12 14:34:59 +00:00
Dylan Baker
7b9c01a5b1
bin/post_version: convert the csv.reader into a concrete list
...
which is necessary to be able to index into it.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8477 >
2021-01-21 23:22:36 +00:00
Dylan Baker
8587e57f12
docs: store the release-calendar information in csv (and fix tests)
...
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-07 00:07:56 +00:00
Eric Engestrom
5f649be7b5
post_version.py: fix relnotes links
...
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928 >
2020-07-22 21:51:24 +00:00
Eric Engestrom
6c4ad62723
post_version.py: update the files in the current worktree, not the one with 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-22 21:51:24 +00:00
Eric Engestrom
a28a089814
post_version.py: stop using non-existent functions and fix commit message
...
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928 >
2020-07-22 21:51:24 +00:00
Eric Engestrom
f5353e01f9
post_version.py: drop incorrect conf.py changes
...
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-22 21:51:24 +00:00
Eric Engestrom
24e118f695
post_version.py: don't generate relnotes twice
...
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928 >
2020-07-22 21:51:24 +00:00
Eric Engestrom
ebb33b2c0a
post_version.py: update script to the new rST way of things
...
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4630 >
2020-06-13 10:42:01 +00:00
Eric Engestrom
445e559e35
post_version.py: stop adding release candidates to the index and relnotes
...
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-13 21:35:24 +00:00
Eric Engestrom
ae26149e2e
post_version.py: invert is_point
into is_first_release
to make its 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-13 21:35:24 +00:00
Eric Engestrom
5fba85bcb8
post_version.py: fix branch name construction for release candidates
...
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-13 21:35:24 +00:00
Dylan Baker
0123b8f634
bin/gen_release_notes.py: Fix version detection for .0 release
...
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: 3226b12a09
("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-04-20 19:21:15 +00:00
Dylan Baker
5cdaa06221
bin/post_version.py: Make the git commit as well.
...
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-05 15:14:56 -08:00
Dylan Baker
e3d3abb1bc
bin/post_version.py: Pretty print the html
...
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-05 15:14:56 -08:00
Dylan Baker
d7ada7d7e0
bin/post_version.py: Update the release calendar as well
...
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 >
2020-03-05 15:14:56 -08:00
Dylan Baker
7e4b87f987
bin/post_release.py: Add .html to hrefs
...
oops.
Fixes: 3226b12a09
("release: Add an update_release_calendar.py script")
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
2019-10-25 15:46:11 -07:00
Dylan Baker
5eef803625
bin/post_version.py: white space fixes
...
Fixes: 3226b12a09
("release: Add an update_release_calendar.py script")
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
2019-10-25 15:46:08 -07:00
Dylan Baker
abf9e7ac7b
bin/post_version.py: Pass version as an argument
...
I made a bad assumption; I assumed this would be run in the release
branch. But we don't do that, we run in the master branch. As a result
we need to pass the version as an argument.
Fixes: 3226b12a09
("release: Add an update_release_calendar.py script")
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
2019-10-25 15:46:06 -07:00
Dylan Baker
3226b12a09
release: Add an update_release_calendar.py script
...
This script is for updating post version bump.
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Juan A. Suarez <jasuarez@igalia.com>
2019-10-03 20:15:19 +00:00