cgrindel / rules_swift_package_manager

Collection of utilities and Bazel rules to aid in the development and maintenance of Swift repositories using Bazel.
Apache License 2.0
78 stars 30 forks source link

Feature request: update file permissions to enforce read-only files #1340

Open luispadron opened 4 hours ago

luispadron commented 4 hours ago

The files from swiftpkg repositories should be marked read-only (locked) when creating the repositories. This helps ensure users do not accidentally modify a packages contents.

cgrindel commented 3 hours ago

Curious. What is the scenario where they are editing the files? Are folks digging into the external directory and modifying files?

luispadron commented 3 hours ago

I imagine it's when using rules_xcodeproj since that makes it a lil easier to view the external files / when viewing external sources and accidentally editing a file