I was thinking about this recently, and while the command line will always be faster, it would still be useful to have a user interface for generating static HTML, and perhaps even for installing. Really low priority but this is a target for 1.0.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

samuel.mortenson created an issue. See original summary.

samuel.mortenson’s picture

Component: User interface » Tome Static

I think I only want this for Tome Static. We rely on the command line heavily for site installs and config imports, rewriting that for the UI would be a huge undertaking regardless of what Tome is doing.

samuel.mortenson’s picture

Status: Active » Needs review
FileSize
25.04 KB

Much UI, very fast. No tests but there aren't any for the commands either, will have to think if that's a follow up for beta2.

Status: Needs review » Needs work

The last submitted patch, 3: 3006451-3.patch, failed testing. View results

samuel.mortenson’s picture

Status: Needs work » Needs review
FileSize
1020 bytes
24.93 KB

Tweaking the cache fix here.

samuel.mortenson’s picture

FileSize
35.11 KB
15.25 KB

I didn't think it was fair that the UI is now probably faster than the command line, so I made some tweaks and changed the static command to spawn five processes at a time, with each process generating five paths. I ran into a lot of core problems with this but still think it will work for most sites. Users who find problems can always report them here, and can optionally turn down the --path-count back down to 1.

samuel.mortenson’s picture

FileSize
40.82 KB
9.87 KB

Consolidated code between the command line and form.

samuel.mortenson’s picture

FileSize
41.92 KB
3.29 KB

When we were requesting one path at a time per process, exceptions were fine because they didn't interfere with other requests. Now we need to catch all errors when requesting paths and display them to the user without breaking the entire build.

  • samuel.mortenson authored c2c7341 on 8.x-1.x
    Issue #3006451 by samuel.mortenson: Create a user interface for Tome
    
samuel.mortenson’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.