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.

Labels - included paths not working

See original GitHub issue

Hi,

I have some problems getting the labels attached to some specific paths while using the labels “Include Paths” option.

I have one file crawler to crawl a windows share with the following settings:

File Crawler
Name Root-Crawler
Path smb://root/

the rest are the default values.

And then I have created multiple Labels to label some folders under ROOT.

Label-A
Name Label-A
Value labela
Include Paths smb://root/a/*
Label-B
Name Label-B
Value labelb
Include Paths smb://root/b/*
Label-C
Name Label-C
Value labelc
Include Paths smb://root/c/*

I’d asssume that the subfolders /root/a /root/b /root/c get labeld with their corresponding defined labels but nothing happens. It seems like that the labels “Included Paths” option is ignored for any crawled document.

Regarding to the issue #990 I also tried another regex for the “Included Paths” like smb://root/a/.* with no luck.

Any Ideas how to use the labels with just a single crawler?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
marevolcommented, Sep 17, 2017

See LabelTypeHelper. If you need more development supports, please contact support team.

0reactions
jmike72commented, Sep 17, 2017

Hi @marevol ,

thanks for helping. After escaping the special characters in the java regexp the labels are matched and assigned correctly. This is really powerful, great job.

Just for the future…where can I find the url/label matching logic in the sourcecode ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode not recognizing includes from includepath
You have to understand that Visual Studio Code is not an IDE and can't compile by itself. You should have an file called...
Read more >
Setting Include Paths - NI - National Instruments
LabWindows/CVI saves the list of paths not specific to the project from one session to another on the same machine, regardless of the...
Read more >
Built-in include path not shown in Paths and Symbols for ... - IBM
Diagnosing The Problem. Create a new C++ project. In the Project Explorer view, right-click the project and click Properties.
Read more >
"Invalid Project path: Include path not found." error/Help me...
I am quite a novice using this platform and am getting quite confused. When I try and import the project I can do...
Read more >
Dockerfile reference - Docker Documentation
Parser directives do not add layers to the build, and will not be shown as a ... of the context is considered to...
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