Skip to content

rdme docs does not handle symlinks properly #942

@NiankSoft

Description

@NiankSoft

Assuming we have this folder structure:

.
├── a
│   └── a.md
└── b
    ├── a -> ../a/
    └── b.md

  • rdme docs a will upload a.md as expected
  • rdme docs b will upload b.md and completely ignore the folder structure (I expect a.md to be there as well)
  • rdme docs b/a will upload a.md but the logging seems broken (updating files are blank lines):
🔑 [email protected] is currently logged in, using the stored API key for this project: xxx
`aa` was not updated because there were no changes.
`bb` was not updated because there were no changes.
✏
`dd` was not updated because there were no changes.

To build the folder structure above:

mkdir a b
touch a/a.md # Of course, we need at least the yaml header in there, to actually test it
touch b/b.md
cd b
ln -s ../a ./

Metadata

Metadata

Assignees

No one assigned

    Labels

    command:pagesIssues pertaining to page upload commands (e.g., `docs`, `reference`, `changelog`, `custompages`)enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions