Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sul-dlss/ocfl-rb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.0
Choose a base ref
...
head repository: sul-dlss/ocfl-rb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.0
Choose a head ref
  • 4 commits
  • 8 files changed
  • 2 contributors

Commits on May 24, 2024

  1. Use version state to get path to file

    This commit fixes a bug I added in v0.5.0 due to misunderstanding the roles of version state and the manifest in the inventory. I had thought it best to consult the manifest to get a path to the latest version of a file, but the manifest will contain digests and paths even for files which have been removed from the object. All "current" (non-deleted) files in an OCFL object should be in the `state` of the head version within its inventory, which is the same as the object-level inventory.
    mjgiarlo committed May 24, 2024
    Configuration menu
    Copy the full SHA
    1d93119 View commit details
    Browse the repository at this point in the history
  2. Rename Directory#clone_current_version to `Directory#begin_new_vers…

    …ion`
    
    This commit gets rid of the ability to begin a new version *without* carrying over state from the prior version, since the effect that operation has is essentially declaring all files in the past version deleted in the new version. That was unintended and we will implement a different API allowing consumers to delete one or more files in a new version.
    mjgiarlo committed May 24, 2024
    Configuration menu
    Copy the full SHA
    fe84d73 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #29 from sul-dlss/use-state-not-manifest

    Use version state to get path to file
    jcoyne authored May 24, 2024
    Configuration menu
    Copy the full SHA
    d077caf View commit details
    Browse the repository at this point in the history
  4. Bump version to 0.6.0

    mjgiarlo committed May 24, 2024
    Configuration menu
    Copy the full SHA
    e4089f8 View commit details
    Browse the repository at this point in the history
Loading