Code Monkey home page Code Monkey logo

Comments (4)

cperryk avatar cperryk commented on August 23, 2024 1

Some takeaways from my powwow with Nelson:

  • single page import should have a --published flag to import published versions of pages
  • site import should by default only import drafts but should import published pages if --published flag is set
  • site import should rely on the pages index instead of the /pages endpoint and get the most recently updated pages
  • everything outside of what Amphora specifies as a reserved property of the page object (e.g. urlHistory, url, lastModified), can be assumed to be a component ref / list of component refs
  • by default, single page import and site imports should not overwrite existing layouts -- only add new ones. Any layout that would otherwise be overwritten should be logged. Both commands should have a --overwrite-layouts option that overwrites layout.

I expect to be able to update my PR accordingly within the next few days.

from claycli.

nelsonpecora avatar nelsonpecora commented on August 23, 2024

caolan/highland#36

from claycli.

nelsonpecora avatar nelsonpecora commented on August 23, 2024

If anyone wants to take a shot at multi-page importing, please make a PR. The platform team doesn't have enough bandwidth right now to do this.

from claycli.

cperryk avatar cperryk commented on August 23, 2024

@nelsonpecora I'll submit a PR soon for it.

from claycli.

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.