question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[v2.0.8] Symbolic links are not detected by `filters.name.startswith`

See original GitHub issue

Rule:

rules:
  - name: "Echo .bash files on the root"
    locations: ~/
    filters:
      - name:
          startswith: .bash
    actions:
      - echo: "{name}"

Output:

❯ organize run
organize 2.0.8
Config: "/Users/aa/Library/Application Support/organize/config.yaml"

⚙ Echo .bash files on the root ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
/Users/aa
  .bash_history
    - (echo) .bash_history

My root files (.bash_history is an actual file, the others are symlinks):

❯ ls -1 ~/.bash*
/Users/aa/.bash_history
/Users/aa/.bash_profile -> /Users/aa/dotfiles/roles/bash/files/.bash_profile.sh
/Users/aa/.bashrc -> /Users/aa/dotfiles/roles/bash/files/.bashrc.sh

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tfeldmanncommented, Feb 9, 2022

I’m off the pc for today but I’ll add symlink support in the next days

1reaction
tfeldmanncommented, Feb 9, 2022

Symbolic links are skipped at the moment. If this is something people are interested in I’ll add a switch 👌

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git symbolic links in Windows - Stack Overflow
1) allows to enable symbolic links. But you have to clone the repository with the symbolic links again git clone -c core.symlinks=true <URL>...
Read more >
Jetty : The Definitive Reference - Eclipse
It explains how to use Jetty to deploy web applications, configure contexts and connects, and how to implement SSL and other security measures....
Read more >
https://raw.githubusercontent.com/tfeldmann/organi...
Ignore broken symlinks (Issue #202) ## v2.2.0 (2022-03-31) - Tag support (#199) ... detection - refactored time based filters into a common class...
Read more >
Package 'utils' reference manual - R-universe
find() returns where objects of a given name can be found. ... i.e. the URL starts with "file:" , then the packages are...
Read more >
3 Common Tasks — The Yocto Project ® 4.1 documentation
For these cases, BitBake uses the first file that matches the name found in ... file that does not have a .pid extension...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found