Skip to content

Update only a single album#511

Open
dsschult wants to merge 1 commit intosaimn:mainfrom
dsschult:update-album
Open

Update only a single album#511
dsschult wants to merge 1 commit intosaimn:mainfrom
dsschult:update-album

Conversation

@dsschult
Copy link
Contributor

Following up on #508, this PR adds a cli flag for updating a single album.

One key difference compared to the ignore_directories setting is that this will add any albums necessary to create the breadcrumbs in the selected album, but not write them.

Note that I had to adjust how the album source tree is walked to top-down mode, so it wouldn't walk the whole tree if it didn't need to. This meant changing how to ignore albums, including editing the nomedia plugin.

I also added a count of the albums processed to the stats, as that helped with debugging. I can remove that if necessary.

@codecov
Copy link

codecov bot commented Feb 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (27e10d4) 88.72% compared to head (34bb74a) 89.01%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #511      +/-   ##
==========================================
+ Coverage   88.72%   89.01%   +0.29%     
==========================================
  Files          25       25              
  Lines        2066     2076      +10     
==========================================
+ Hits         1833     1848      +15     
+ Misses        233      228       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant