проектные команды и ссылки на источник
- заведён internal/source: уровни ссылаются друг на друга путём на диске или git-репозиторием, ревизия закрепляется хвостом #ref; клон делается заново и удаляется, кэша нет - добавлены init, add, pull, list, check в проекте — манифест .conventions.toml, сборка копий по разу на компонент, маркер локальной части, READING.md рядом - проверки формы развязаны с набором: принимают lang.Vocabulary, а язык копии узнаётся по строке о версии — манифеста рядом с ней нет
This commit is contained in:
@@ -18,6 +18,11 @@ type Front struct {
|
||||
Lang string
|
||||
Stack string
|
||||
Extends string
|
||||
// Origin is the key a copy carries in a consuming repository: the name of
|
||||
// the topic it was assembled from. It is the whole front matter of a copy
|
||||
// and it appears nowhere in a suite — a file that lost it is no longer a
|
||||
// copy and is never overwritten again.
|
||||
Origin string
|
||||
|
||||
// At is the line a key was declared on, so a finding can point at the
|
||||
// declaration rather than at the top of the file.
|
||||
@@ -75,6 +80,8 @@ func parseFront(lines []string) (Front, int, error) {
|
||||
front.Stack = value
|
||||
case "extends":
|
||||
front.Extends = value
|
||||
case "origin":
|
||||
front.Origin = value
|
||||
default:
|
||||
front.Unknown = append(front.Unknown, key)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user