Coder Social home page Coder Social logo

Comments (11)

bondjimbond avatar bondjimbond commented on June 16, 2024 1

I'm thinking this approach meets the need pretty effectively. Perhaps we can leave the manipulator approach on the back burner for now and push the simple one through for expediency?

from mik.

mjordan avatar mjordan commented on June 16, 2024

Not yet, see #176.

from mik.

bondjimbond avatar bondjimbond commented on June 16, 2024

That looks complex! So it's not as simple as, say, creating a new option (say, "migrated_from=(base CDM URL)") and replacing the hard-coded SFU base with the new variable? It feels like it should be pretty simple.

from mik.

mjordan avatar mjordan commented on June 16, 2024

Possibly - as long as if that new option was absent, no migrated_from identifier would be added (i.e., add that element is optional). @MarcusBarnes and @jonathangreen what do you think of this simpler approach, as opposed to the manipulator approach I had been pursuing?

from mik.

bondjimbond avatar bondjimbond commented on June 16, 2024

Yeah, that could work... By default, no migrated_from_uri happens. Here's my thought...

Instead of making include_migrated_from_uri TRUE or FALSE, make it the base URI for the CDM instance. If it's simpler to keep it required, then allow FALSE or a base URL.

So, if FALSE, keep the same code

If a base URL, follow the code for TRUE but replace http://content.lib.sfu.ca with the value of include_migrated_from_uri.

from mik.

MarcusBarnes avatar MarcusBarnes commented on June 16, 2024

The simpler approach would be good for resolving this quicker, both for @bondjimbond but also for other potential parties that may use MIK to move from CDM to Islandora (we may see an increase of this with the continuing work on ISLE). That said, the manipulator approach is still valuable and we should pursue this if there's sufficient community need for this flexibility of this approach.

from mik.

mjordan avatar mjordan commented on June 16, 2024

@bondjimbond I'm all for that and thanks for suggesting this simpler approach. I'd like to hear from @jonathangreen before we move ahead with implementing it since he was interested in a solution to this problem too.

@bondjimbond are up able to open a PR for this?

from mik.

jonathangreen avatar jonathangreen commented on June 16, 2024

Simple solution works for me!

from mik.

mjordan avatar mjordan commented on June 16, 2024

Sweet, we're all on board then. Simplest solution wins!

from mik.

bondjimbond avatar bondjimbond commented on June 16, 2024

@mjordan I can attempt a PR, though I'd prefer you get issue-482 merged first... would make it a lot easier to test.

from mik.

mjordan avatar mjordan commented on June 16, 2024

OK, I'm cool with merging issue-482 with proper documentation. Being stretched in a bazillion directions but will get to a PR by end of the day.

from mik.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.