Skip to content

Symlinks are ignored when publishing to a hosted pub repository #1400

Closed
@maxwellpeterson-wf

Description

@maxwellpeterson-wf

We have a package that supplies most of our common frontend styling - SASS, CSS, icons, fonts, etc.

This repository existed long before we started using Dart, so most of the code is in top-level directories like sass/ and dist/. When using the package as a github dependency we were able to symlink some the necessary directories into lib/. These symlinks persist upon download/git clone, and everything works great.

However, when we publish the package to our new hosted private pub repository, the symlinks do not make it into the tar archive which means we get a mostly empty lib/ directory and cannot use our static assets.

It seems as though an option could be used with the tar command to include the symlinks before uploading it to the pub repository server.

@nex3 @trentgrover-wf @greglittlefield-wf

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions