Git Product home page Git Product logo

Comments (4)

ejucovy avatar ejucovy commented on August 18, 2024

Initial work done in a new zopectl script in 2c859cf

Still to do: file attachments, metadata (authors, timestamps)

from opencore.

ejucovy avatar ejucovy commented on August 18, 2024

The import now sets last modified authors and modification dates: 73f484a

However, the wiki history is blank; I believe the portal_repository tool is correctly storing all old versions (hopefully even with metadata now) but I haven't confirmed this. I think the wiki history is blank because we have that parallel "history cache" object which I'm currently ignoring.

from opencore.

ejucovy avatar ejucovy commented on August 18, 2024

However, the wiki history is blank; I believe the portal_repository tool is correctly storing all old versions (hopefully even with metadata now) but I haven't confirmed this. I think the wiki history is blank because we have that parallel "history cache" object which I'm currently ignoring.

I was right and wrong -- right that we need to ping the history cache, but portal_repository was NOT correctly storing the old versions' metadata: timestamps and authors were being set to the current time and principal running the script (admin)

I fixed all of this in 0d73a43 by using lower-level methods of CMFEditions which are not as robust in the general case but should be perfectly fine for our purposes.

Only remaining work here is reconstructing attachments from pages/ folder.

from opencore.

ejucovy avatar ejucovy commented on August 18, 2024

Only remaining work here is reconstructing attachments from pages/ folder.

Done in 6a01873

However, I realized we're losing three bits of information about attachments:

  • Creator
  • Creation Date
  • Title

I've filed issue #12 about this.

from opencore.

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.