mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #209] Doesn't copy symlinks #143
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#143
Loading…
Add table
Add a link
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?
Originally created by @pascalwhoop on GitHub (Apr 26, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/209
We're using symlinks in our git repo to keep our terraform code DRY. Doesn't really matter to act, but generally, if GIT supports symlinks, so should act
@nilsdebruin commented on GitHub (May 7, 2020):
Hi, I can confirm that this is broken in version 0.2.8, when I downgraded to 0.2.7 it works as expected (MacOSX Catalina, installed via HomeBrew)
@cplee commented on GitHub (May 13, 2020):
Likely related to
github.com/nektos/act@8c290994c1@lyleunderwood commented on GitHub (Jun 19, 2020):
Why was this necessary? Was there an issue associated with this?
@Nilegfx commented on GitHub (Aug 2, 2020):
any updates regarding this?
When I downgrade to
0.2.7, as @nilsdebruin mentioned, the error disappeared but copying symlinks didn't work fine.isn't it solved by adding
-Lhere according to docker documentation for cp command here@github-actions[bot] commented on GitHub (Oct 2, 2020):
Issue is stale and will be closed in 7 days unless there is new activity
@lyleunderwood commented on GitHub (Oct 2, 2020):
@cplee does the above look familiar to you?
@cplee commented on GitHub (Oct 2, 2020):
@lyleunderwood - this was for #182
@lyleunderwood commented on GitHub (Oct 2, 2020):
Oh, hm. It looks like the output referenced in the original issue is describing the fact that the contents of a symlink are not copied to the tar archive, because a symlink doesn't really have contents. The file headers for the symlinks are still written to the archive, which I believe should be enough for them to be untar'd correctly. It seems like the real question here is, do symlinks actually not show up alongside the other copied files? It seems like they should, in which case the warning should probably be squelched.
github.com/nektos/act@729adec5e5/pkg/container/docker_run.go (L386-L410)