sigal icon indicating copy to clipboard operation
sigal copied to clipboard

Update only a single album

Open dsschult opened this issue 1 year ago • 1 comments

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.

dsschult avatar Feb 20 '24 02:02 dsschult

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 20 '24 02:02 codecov[bot]