13 Jan 2023 |
muzimuzhi | sound good | 14:38:09 |
muzimuzhi | * sounds good | 14:38:17 |
hmenke | If the release builds fine on my fork, I'll push it to pgf-tikz later and we'll have a new release on CTAN by the end of the weekend. | 14:43:29 |
muzimuzhi | In reply to @muzzi:matrix.org Having no idea why the use in pgfmanual worked before. See the why part in https://github.com/latex3/latex2e/issues/981. | 15:21:39 |
muzimuzhi | Not surprisingly, rolling back just opens many more possibilities, hence is hard (or, complex?). | 15:23:56 |
muzimuzhi | * Not surprisingly, rolling back just opens many more (orthogonal) possibilities, hence is hard (or, complex?). | 16:06:26 |
14 Jan 2023 |
muzimuzhi | In reply to @hmenke:matrix.org If the release builds fine on my fork, I'll push it to pgf-tikz later and we'll have a new release on CTAN by the end of the weekend. The release workflow failed at step "CTAN: Validate" with
| 01:14:25 |
muzimuzhi | In reply to @hmenke:matrix.org If the release builds fine on my fork, I'll push it to pgf-tikz later and we'll have a new release on CTAN by the end of the weekend. * The release workflow failed at step "CTAN: Validate" with
Do you want to upload to CTAN? [y/n]
> ...xlive/2022/texmf-dist/scripts/l3build/l3build-upload.lua:213: bad argument #1 to 'lower' (string expected, got nil)
| 01:14:34 |
muzimuzhi | * The release workflow failed at step "CTAN: Validate" with
Do you want to upload to CTAN? [y/n]
> ...xlive/2022/texmf-dist/scripts/l3build/l3build-upload.lua:213: bad argument #1 to 'lower' (string expected, got nil)
when running l3build upload --dry-run --date "$tagdate" "$tagname" . See https://github.com/hmenke/pgf/actions/runs/3913264885/jobs/6688947232
Not sure if it's l3build's fault.
| 01:17:23 |
muzimuzhi | The context is https://github.com/latex3/l3build/blob/34f616b8d8cf650d74da770458415d94894fe50c/l3build-upload.lua#L208-L215. My guess is that setting variable ctanupload to true may help. WIll check locally after I learn how to use l3build upload . | 01:49:02 |
muzimuzhi | * The context is https://github.com/latex3/l3build/blob/34f616b8d8cf650d74da770458415d94894fe50c/l3build-upload.lua#L208-L215.
print("Do you want to upload to CTAN? [y/n]" )
local answer=""
io.stdout:write("> ")
io.stdout:flush()
answer=read()
if(lower(answer,1,1)=="y") then
ctanupload=true
end
My guess is that setting variable ctanupload to true may help. WIll check locally after I learn how to use l3build upload .
| 01:49:36 |
muzimuzhi | * The context is https://github.com/latex3/l3build/blob/34f616b8d8cf650d74da770458415d94894fe50c/l3build-upload.lua#L208-L215.
print("Do you want to upload to CTAN? [y/n]" )
local answer=""
io.stdout:write("> ")
io.stdout:flush()
answer=read()
if(lower(answer,1,1)=="y") then
ctanupload=true
end
My guess is that setting variable ctanupload to true in config.lua may help. WIll check locally after I learn how to use l3build upload .
| 01:49:59 |
muzimuzhi |
The release workflow failed at step "CTAN: Validate" with
Do you want to upload to CTAN? [y/n]
> ...xlive/2022/texmf-dist/scripts/l3build/l3build-upload.lua:213: bad argument #1 to 'lower' (string expected, got nil)
when running l3build upload --dry-run --date "$tagdate" "$tagname" .
Strange. With --dry-run set, lua variable ctanupload is set false [1] hence the branch of code containing print("Do you want to upload to CTAN? [y/n]" ) should be skipped [2].
[1] https://github.com/latex3/l3build/blob/2022-11-10/l3build-upload.lua#L73-L79 [2] https://github.com/latex3/l3build/blob/2022-11-10/l3build-upload.lua#L191-L216
| 05:05:44 |
muzimuzhi |
My guess is that setting variable ctanupload to true in config.lua may help.
l3build maintainers suggested the same setting in https://github.com/latex3/l3build/issues/247. Thus I think this is the correct "how" part. It may take more time to find the "why" part (why it worked before, what has changed since then, etc.)
hmenke Would you mind applying
diff --git a/build.lua b/build.lua
index bff18b23..7bf4f678 100644
--- a/build.lua
+++ b/build.lua
@@ -47,7 +47,6 @@ checkconfigs = { "build", "config-gd" }
maxprintline = 9999
-- For release
-ctanupload = true
ctanzip = "pgf.ctan.flatdir"
packtdszip = true
and try again? I didn't have GPG keys set hence could not test in my fork.
| 11:14:59 |
muzimuzhi | *
My guess is that setting variable ctanupload to true in config.lua may help.
l3build maintainers suggested the same setting in https://github.com/latex3/l3build/issues/247. Thus I think this is the correct "how" part. It may take more time to find the "why" part (why it worked before, what has changed since then, etc.)
hmenke Would you mind applying
diff --git a/build.lua b/build.lua
index 7bf4f678..bff18b23 100644
--- a/build.lua
+++ b/build.lua
@@ -47,6 +47,7 @@ checkconfigs = { "build", "config-gd" }
maxprintline = 9999
-- For release
+ctanupload = true
ctanzip = "pgf.ctan.flatdir"
packtdszip = true
and try again? I didn't have GPG keys set hence could not test in my fork.
| 11:15:31 |
muzimuzhi | *
My guess is that setting variable ctanupload to true in config.lua may help.
l3build maintainers suggested the same setting in https://github.com/latex3/l3build/issues/247. Thus I think this is the correct "how" part. It may take more time to find the "why" part (why it worked before, what has changed since then, etc.)
hmenke Would you mind applying
diff --git a/build.lua b/build.lua
index 7bf4f678..bff18b23 100644
--- a/build.lua
+++ b/build.lua
@@ -47,6 +47,7 @@ checkconfigs = { "build", "config-gd" }
maxprintline = 9999
-- For release
+ctanupload = true
ctanzip = "pgf.ctan.flatdir"
packtdszip = true
and try again? This will involve tag deletion and re-addition. I didn't have GPG keys set hence could not test in my fork.
| 11:20:11 |
muzimuzhi | Here comes the "why" part: a l3build bug, see https://github.com/latex3/l3build/issues/264 So the "how" part is just a short-term workaround. | 15:25:08 |
muzimuzhi | Another obstacle, hopefully it will be the last one: https://github.com/latex3/l3build/issues/265 | 15:52:40 |
muzimuzhi | * Another obstacle, hopefully it will be the last one: https://github.com/latex3/l3build/issues/265
Update: Not really an obstacle because echo 'y' | l3build upload ... will work around it.
| 16:06:34 |
15 Jan 2023 |
muzimuzhi | Redacted or Malformed Event | 04:28:57 |
muzimuzhi | A commit (based on hmenke/master ) shows a workaround for above limitations in l3build 2022-11-10. https://github.com/muzimuzhi/pgf/commit/724af5abd2263a4e7e75d50d2112d3abda299a5b
To test with it, after rebasing, cherry-picking, and retagging and before force pushing, you may need to delete https://github.com/hmenke/pgf/releases/tag/3.1.10 first.
| 04:37:09 |
hmenke | It is done: https://github.com/pgf-tikz/pgf/releases/tag/3.1.10 | 09:38:10 |
muzimuzhi | In reply to @hmenke:matrix.org Farewell, experiments/ (a message I should have sent at the time)
Another two dir named experimental :
$ find . -type d -name 'experimental'
./tex/generic/pgf/graphdrawing/tex/experimental
./tex/generic/pgf/graphdrawing/lua/pgf/gd/experimental
Quick digging shows these experimental code files are related to an experimental graphdrawing library envolving , contributed by mskambath with no email, back to 2016. Related commits are:
- e7f9df5c (added experimental sources for animated gd for trees, 2016-08-10)
- 82916fb3 (Created an experimental tikzlibrary for the gd-library 'evolving', 2016-08-15)
- 46b0e901 (Fixed a bug (declaration of a missing counter) in tikzlibrarygraphdrawing.evolving.code.tex, 2016-08-16)
- 51c328f4 (worked on implementation of the efficient algorithm, 2016-08-19)
| 19:16:26 |
muzimuzhi | In reply to @hmenke:matrix.org
I think in the future <type>(<scope>): ... should be listed as
### <type>
- <scope>: ...
(another message popped from my backlog memory)
One practice I saw in ohmyzsh : Accompanied with a strict commit message format, ohmyzsh uses changelog.sh , a zsh script to automatically generate changelog from commit messages.
| 20:16:26 |
muzimuzhi | Download image.png | 20:17:03 |
hmenke | I think that's a bit too much magic, especially considering our rather low throughput. | 20:17:45 |
hmenke | Mandatory XKCD: https://xkcd.com/1319/ | 20:18:19 |
muzimuzhi | In reply to @hmenke:matrix.org I think that's a bit too much magic, especially considering our rather low throughput. can't argue In a whole leaving some work to do manually is not that inefficient. :D | 20:21:22 |
muzimuzhi | In reply to @hmenke:matrix.org I think that's a bit too much magic, especially considering our rather low throughput. * can't argue. In a whole leaving some work to do manually is not that inefficient. :D | 20:22:27 |
16 Jan 2023 |
muzimuzhi | *
My guess is that setting variable ctanupload to true in config.lua may help.
l3build maintainers suggested the same setting in https://github.com/latex3/l3build/issues/247. Thus I think this is the correct "how" part. It may take more time to find the "why" part (why it worked before, what has changed since then, etc.)
hmenke Would you mind applying
diff --git a/build.lua b/build.lua
index 7bf4f678..bff18b23 100644
--- a/build.lua
+++ b/build.lua
@@ -47,6 +47,7 @@ checkconfigs = { "build", "config-gd" }
maxprintline = 9999
-- For release
+ctanupload = false
ctanzip = "pgf.ctan.flatdir"
packtdszip = true
and try again? This will involve tag deletion and re-addition. I didn't have GPG keys set hence could not test in my fork.
| 00:03:27 |