Skip to content

Fix incorrect ctan_post#428

Open
Freed-Wu wants to merge 1 commit intolatex3:mainfrom
ustctug:upload
Open

Fix incorrect ctan_post#428
Freed-Wu wants to merge 1 commit intolatex3:mainfrom
ustctug:upload

Conversation

@Freed-Wu
Copy link

@Freed-Wu Freed-Wu commented Aug 4, 2025

fp_return = shell(ctan_post .. "validate")

shell() get incorrect ctan_post

sh: line 2: form-string=announcement=XXXXXXXXXXXXX: command not found

https://github.com/latex3/l3build/blob/0e64fef4ac5aa093f43c4fdf6403a04abeff44e1/l3build-upload.lua#L185

shell() get incorrect ctan_post

sh: line 2: form-string=announcement=XXXXXXXXXXXXX: command not found
@Freed-Wu
Copy link
Author

anyone to review it? @josephwright

@josephwright
Copy link
Member

Well it looks OK to me but the upload stuff is more @davidcarlisle

@davidcarlisle
Copy link
Member

@Freed-Wu it would have helped if you had opened an issue with a test case rather than just a PR with no comments on the actual change.

You say that you get a shell error (not impossible but an example would help review) then this PR re-orders some code sections.

In which cases does this produce different results than the current code.

@Freed-Wu
Copy link
Author

I try to upload a new project to ctan and meet the shell error. I find it is because incorrect ctan_post be executated as shell and fix it. now it work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants