As a verb: Clone a remote into a new directory which becomes a clone project.
As a noun: An fpm project which is a clone to the remote and tracks it. The interaction with remote is established using sync.
.md
and .ftd
.document-name
processors.The document-full-id
is same as the document-id
. Though, in some case, it could be alias to document-id
with a document-suffix
added after special character /-/
. In case, when document-suffix
is not present, document-full-id
and document-id
are same.
For a document foo.ftd
, the document-id
is /foo/
but document-full-id
could be /foo/-/x/
where /x/
is the document-suffix
. Both /foo/
and /foo/-/x/
points to foo.ftd
, probably with different document-metadata
.
See more document-full-id
processors.
The document-id
is the url of the document interface returns the location from where the compiled version of document can be accessed.
For a document foo.ftd
, the document-id
is /foo/
See more document-id
processors.
The document-metadata
is the key-value pair data provided to document-full-id
in the sitemap.
See more get-data
processor.
The document-suffix
is the special read-only property in document-full-id
which is added after special character /-/
.
For /foo/-/x/
as document-full-id
, /x/ is document-suffix
.
This can accessed using document-suffix
processor.
See also sitemap.
The file is said to be file-with-conflict
if the file gets in conflict with server latest version of the same file.
The file, in conflict-state, is never considered to be synced unless its conflict is resolved.
FPM.ftd
and any number of folders or files of any extension along with states (server-state and/or client-state)..ftd
.remote-manifest-last-sync
is same as remote-manifest
, but it is derived against last synced remote state in clone.To bring the contents of clone into the remote. Also to bring the remote’s changes after the clone diverged into the clone project. In the end results the remote and the clone to be exact copy of each other.
Sync is specific to a file. Though the fpm sync
commands results in syncing of all the changed file.
Syncing is performed by an automatic process that identifies changes made since the clone and the remote diverged, and then applies all those changes together. In cases where changes conflict in the file, file enters into conflict-state and manual intervention may be required to complete the sync of conflicted file.
A successful sync results in the creation of a new version of the file.
fpm project
and has entry in workspace i.e. it will be synced when fpm sync is used if it’s not file-with-conflict.As a noun: A single point in the FPM project history of a file; the entire history of a file in a project is represented as a series of versions.
As a verb: The action of storing a new snapshot of the file’s state in the fpm project history, by creating a new version representing the current state of the file. The new version is created by sync action.
fpm add <file-name>
.