Skip to content

Add support for building from a Git repository #4

@ido50

Description

@ido50

I actually prefer building and synchronizing database from a Git repository rather than a directory. This allows more feature such as proper handling of removed resources, automatic parsing of creation/modification times, etc.
It also allows synchronizing databases by only performing changes, rather than rebuilding the entire website from scratch.

Flow:

  • Go commit by commit since the last one (stored in vars.latest_one) and only perform changes sequentially.
  • Properly handle files that were moved or removed, but do not leave them with a 30x or 40x status code, only the config file is in charge of that for now.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions