Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.kavitaignore no more #2442

Merged
merged 11 commits into from
Nov 19, 2023
Merged

.kavitaignore no more #2442

merged 11 commits into from
Nov 19, 2023

Conversation

majora2007
Copy link
Member

@majora2007 majora2007 commented Nov 19, 2023

image

Added

  • Added: Library Settings now has File types setting which allows you to turn on/off different types of file types from the scanner.
  • Added: Library Settings now has an exclude patterns control which allows you to ignore folders or file patterns.

Changed

  • Changed: .kavitaignore files have been deprecated and will log a warning to the logs whenever one is found. They will currently still function but be removed in the v0.8 release.

Closes #2394

}
return chapter.number;
updateWeblinks(items: Array<string>) {
this.metadata.webLinks = items.map(s => s.replace(',', '%2C')).join(',');

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding

This replaces only the first occurrence of ','.
Copy link

sonarcloud bot commented Nov 19, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@majora2007 majora2007 merged commit 7221501 into develop Nov 19, 2023
5 checks passed
@majora2007 majora2007 deleted the feature/library-settings-extended branch November 19, 2023 18:15
@janaxhell
Copy link

janaxhell commented Nov 24, 2024

According to the wiki

**/folder/* will ignore the folder at any depth in a path

I have many series folders that contain an /Extra subfolder with HTML presentation full of gifs/jpegs and such. With .kavitaignore I used Extra/* and all seemed to work fine. Now I have tried the same pattern in the UI, but it doesn't work, so I tried the above example as **/Extra/*
and it doesn't work as well. I have manually removed the bogus "series", rescanned with that exclusion and they came back.
My hierarchy is
/comics/country/publisher/series/Extra
with all the .cbz files at the same level of /Extra in
/comics/country/publisher/series/

image

I'm using latest 0.8.4.0

@majora2007
Copy link
Member Author

According to the wiki

**/folder/* will ignore the folder at any depth in a path

I have many series folders that contain an /Extra subfolder with HTML presentation full of gifs/jpegs and such. With .kavitaignore I used Extra/* and all seemed to work fine. Now I have tried the same pattern in the UI, but it doesn't work, so I tried the above example as **/Extra/* and it doesn't work as well. I have manually removed the bogus "series", rescanned with that exclusion and they came back. My hierarchy is /comics/country/publisher/series/Extra with all the .cbz files at the same level of /Extra in /comics/country/publisher/series/

image

I'm using latest 0.8.4.0

This is not the correct place to bring up a bug. Please file a new issue. Otherwise this will not be worked on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Removal of .kavitaignore
2 participants