Deprecation Cleanup for Major Release v13 #1319
Labels
No labels
FreeBSD
Kind/Breaking
Kind/Bug
Kind/Chore
Kind/DependencyUpdate
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Windows
linux-powerpc64le
linux-riscv64
linux-s390x
run-end-to-end-tests
run-forgejo-tests
run-multi-platform-tests
No milestone
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
forgejo/runner#1319
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When there's a good reason to bump runner's major release to v13, we should also cleanup any noted items here that have been deprecated for a long time and never finalized.
compatibleWithOldEnvs and NetworkMode
#1312 (comment)
Remove the remains of the Gitea compatibility layer. See https://codeberg.org/forgejo/discussions/issues/439.
on.schedule#1454Remove
strings.ToLower()when parsingon.schedule: #1454 (comment)#1417
Remove
InsecureSkipVerify: trueon HTTP client:if strings.HasPrefix(endpoint, "https://") && insecure {transport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true,}}Does
.runneralso qualify for this, or is it not deprecated yet?I expect we'll allow
.runnerto be used for a long time, and not removed in Runner v13. But it's good to note here as we can kick it forward in "Deprecation Cleanup for Major Release ..." until we feel it's the right time.Objectively, I don't know what the right time will be. After Forgejo 15 is out with the new registration approach for a "long time" and any challenges are ironed out.
@mfenniak wrote in #1319 (comment):
Why do you want to remove that? It's only activated if
insecureistrue, which is controlled by the runner configuration. Or do you want to removeinsecurein general?@aahlenst wrote in #1319 (comment):
I must not have looked into this very deeply when I made that comment. It does seem to be config driven, so, no concerns. 👍 Apologies for wasting your time looking at it.
@mfenniak wrote in #1319 (comment):
No worries! Less for me to do ❤️
I think I've worked through all points listed here. Or is there anything left without an open PR?
@aahlenst wrote in #1319 (comment):
Looks great to me. 👍
Closing. Thank you!
@aahlenst Ah, I did find one other. #1455 -- you removed support for
add-pathin #1616, but not forset-env.set-envhas similar security risks in that if the environment variable is later used to run a command, and,set-envcan be output by user-controlled data, it can be manipulated unexpectedly. If you have time to add this change as well, I think it'd be good to include.@mfenniak wrote in #1319 (comment):
That was my plan. I waited until the removal of
add-pathwas merged.