इस पेज का मशीन अनुवाद किया गया है। मूल अंग्रेज़ी पढ़ें।
aggrega import
किसी बाहरी स्रोत विवरण को Aggrega की ड्राफ़्ट ऑथरिंग फ़ाइलों में बदलें
यह पेज कमांड का संदर्भ है। इम्पोर्ट किस लिए है, और ऐसे वॉकथ्रू जो किसी प्रोजेक्ट को उसके स्रोत से बिल्ड तक ले जाते हैं, इम्पोर्ट में हैं। वह उत्तर फ़ाइल जिससे ऐसे मान पढ़े जाते हैं जिन्हें कोई स्रोत नहीं रख सकता, और टर्मिनल पर पूछे जाने वाले प्रश्न, इम्पोर्ट उत्तर फ़ाइल में वर्णित हैं।
सारांश
aggrega import <file or directory> [flags]विवरण
Turn a foreign source description into draft Aggrega authoring files.
The importer reads the source, drafts Aggrega entities from it, and writes thedrafted files beneath the root of the workspace the run resolved, from whicheverfolder the command is run in (creating parent directories as needed). Thetranslation is done by the importer plugin that advertises the source format;import selects it, runs it, and writes what it produces. An importer in theworkspace's catalog has its .wasm read from the places a build reads a pluginfrom — beside its Plugin entity in a catalog folder among them.
The compiler's core importers serve their formats in every workspace, with nocatalog entry. The first import that needs one this machine does not holdfetches it from the workspace's default registry, holds it to the module thecompiler's release publishes, verifies its signature under that registry'strust policy and the host functions it uses, and keeps it in the workspace'scontent cache, so every later import reads it from there and reaches nonetwork for it. Nothing else is written for it: no lockfile, and no record of trustedplugins. A module that does not verify is refused, and nothing is kept. Wherethe module cannot be fetched — the workspace is offline, its registry cannot bereached, or the registry does not hold it — import stops, naming the importerand its version and what puts its module on the machine: running the importonce with the network available, where that would fetch it, or placing themodule beside a Plugin entity of that importer at that version in a catalogfolder.
The catalog an import reads is the one a build resolves against: theworkspace's catalog folders first — those AGGREGA_CATALOG_DIRS and itsconfiguration's catalog_dirs name, then the catalog folder at its root — andlast the catalog its default registry publishes as one signed snapshot, atcatalog/snapshot. An entity a folder holds is read in place of the publishedone of the same identity — its kind, name and version, a Recipe's capabilitytoo, and a library's name alone — and every other published entity stays inview: the importers, the Components drafts are matched against and the Recipes--target maps from are the folders' and the published catalog's together. TheComponents drafts are matched against leave out any at a file the import's ownentry in the record beside the drafts lists: those are its earlier drafts, notcatalog entities, so a re-run or a --sync is judged against the catalog ratherthan against what it drafted before. Aparser or an importer the folders hold for a syntax or a format is chosen forit before any the published catalog holds, so a published one of another nameor a later version is no candidate for that syntax or format, unless aplugins.importer attachment names that importer. A snapshot is fetched once:its signature is verified under that registry's trust policy, and it is kept inthe workspace's content cache and read there as a catalog folder, held to itsdigest, with no registry asked for it again. Which snapshot an import reads:with --upgrade, the newest; otherwise the one the import's entry in the recordbeside the drafts names, fetched by its digest when this machine does not holdit; otherwise the one the workspace last fetched as the newest; otherwise thenewest. The entry an import writes names the snapshot it read by its digest. Where the snapshotcannot be read — the workspace is offline and this machine does not hold it,the workspace names no default_registry, or the registry cannot be reached orpublishes none — a workspace with catalog folders imports over them alone, anda warning says why and what reads the snapshot: an import run with the networkavailable. Such an import keeps the snapshot its entry names, so the nextimport that can read it reads the same one. A --sync whose entry names asnapshot this machine does not hold, and cannot fetch, stops instead, namingthe snapshot: the drafts it judges were drafted against that catalog, and thefolders alone may draft them otherwise. Run it where the registry can bereached, which keeps the snapshot on this machine for every later sync. Aworkspace with no catalog folder stops instead, naming what to run, or, where the registrypublishes no snapshot, imports with no catalog, and a warning says so. Aconfiguration listing catalog_dirs as an empty list has no catalog folder, theone at its root included.
The source is a file or a directory. A file is handed to the importer whole. Adirectory is read into named sources: exactly the files the importer's declaredfile patterns match, at any depth, each named by its path inside the directorywritten with forward slashes, in sorted order, and no other file of thedirectory is opened. A directory holding the folder aggrega build writes to —dist/ beneath the workspace root — is read without it: nothing in that folderis recognized or handed to the importer, so a directory you have built isread as the project it holds, and a directory that is that folder, or liesinside it, is read as named. A link inside the directory is never followed outof it: the directory is held to itself wherever it lies, inside the workspace oroutside it, so a link leading out of it — to a directory, or to a file theimporter's patterns match (any importer's, when the format is recognized) — isrefused before anything is read. A link to a directory is never entered, and alink to a file no pattern matches is passed over unread. An importer thatdeclares no file patterns reads one file and refuses a directory, and adirectory holding no file its patterns match is refused too. The files theimporter's attachment names under with: sources reach it beside the directory'sfiles, under their own base names, and a name the two share is refused ratherthan one hiding the other.
A plugins.importer attachment attaches the importer its uri names by identityand version — importer/<name>:<version>, as plugin add importer writes it. Anattached importer that advertises the source format is the one that runs, atthe version its uri names, whatever other importers advertise the format too.Where more than one importer advertises the format and no single one of them isattached, import stops and names the importers it could not choose between. Thecore importers are among them: a workspace whose catalog holds an importer ofanother name for a format a core importer serves attaches the one it wants.Within one name the highest version runs, and an importer the catalog holds atthe name and version of a core importer, with its module beside it, runs inits place. A Plugin entity of a core importer's name with no module beside itis no candidate: the core importer runs in its place at its own version, andat another version the entity stays a candidate only where an attachment namesexactly that version, or where no importer of that name that can runadvertises the format. An attachment'swith: sources and settings are handed to the importer it attaches and to noother, so an importer no attachment names is handed none.
Pass --output-dir to write the drafts beneath another directory instead. Arelative path resolves against the directory you run the command in, as everypath you type does, and a drive named bare on Windows, such as D:, is thecurrent directory on that drive. The directory is resolved before any draft isplaced beneath it, so a draft whose path opens with a separator lands beneathit rather than at the top of the drive. A directory you name outsidethe workspace is used where you named it, and what is written beneath it isheld to it. Wherever the drafts go, a link on the way to one that leads out ofthe workspace — or, beneath a directory you named outside it, out of thatdirectory — is refused, and nothing is written.
Pass --target to draft, beside the importer's drafts, the Manifest the draftedRelease builds against for one provider. The target is a provider capability —the word a Recipe's spec.capability binds to, such as compose or helm. For eachcomponent type and each feature type the drafts need — on the draftedAggregate's components, their connections and its subsystems, on the catalogAggregates it composes, and on the drafted Release's attachments — in the orderthe drafts first declare it, import looks in the workspace's catalog for theRecipes, or for a feature type the feature recipes, that implement the type andbind to that capability: where there is exactly one — several versions of onecount as one — the Manifest maps the type to it by its capability-qualified namewith no version, such as compose/postgres, which the first pull pins in thelockfile at the highest version available; where there are several of differentnames, it maps the one named after the type itself, such as helm/postgres forcore/datastore/postgres; where there is none, or several with none so named, thetype is left unmapped and a warning names it and why, so a build of the draftsstops naming each instance or attachment of it until you add the mapping. Wherethe importer drafts the Manifest itself, to choose the Recipe one instancerenders through or a feature recipe among several, each mapping it wrote thatthe catalog offers for that type and capability is kept, any other is droppedwith a warning, and the types it leaves are mapped as above. The Manifest iswritten as manifest.yaml beside the drafted Release, with the Release's nameand version, and the Release's spec.manifest is set to that name — the commentthe importer wrote in its place is replaced, and nothing else in the Releasechanges. A Release that already names a Manifest is left as it is; where theimport drafts no Release, the Manifest is drafted beside the Aggregate, with itsname and version, and nothing references it. The Manifest and the editedRelease are drafts like the others: recorded, held inside the output directory,and shown by --dry-run. A target no Recipe in the catalog binds to stops theimport before the importer runs, naming the target and the capabilities thecatalog's Recipes bind to, and nothing is written. Without --target no Manifestis drafted and the drafts are the importer's alone — except under --sync, whichreuses the target the earlier import was given.
Beside its drafts, every import that drafts anything writes its entry in.aggrega-import.json, the record of what imports wrote there. The record holdsone entry per import format, sorted by format, and each names its format, thetarget the import was given, where it was given one, the catalog snapshot itread, where it read one, and each drafted file and, in a drafted Aggregate orRelease, each key at every depth, with a digest of the text written there; anyother drafted file is recorded whole. A key's text is its line, its value'slines where its value is not a mapping of keys, and the comment lines writtendirectly above it at its own indentation. An import replaces its own format'sentry, or adds it, and writes every other entry back as it found it, so importsof different formats into one directory each keep their own entry and each canbe synced. A record an older version wrote, holding one import's fields and noformat, is read as one entry naming no format, and an import without --synckeeps it as it is beside its own, reading of it only the catalog snapshot itnames: its target and its answers file may be another import's. A record thatcannot be read stops --sync;an import without --sync writes it anew, holding its own entry alone, and awarning says that the entries it held for other formats' imports are lost. Therecord is JSON, so nothing that reads the workspace's YAML documents reads it;keep it beside the drafts for as long as you mean to sync them.
Some values no source can hold: the image of an application built from yourown code, the email of an owner account, a model the source does not name, thename of a Kubernetes Secret. The drafts write each such value as an emptystring under a comment saying what it is. After drafting, import reads everydrafted document against its own schema and against the catalog schema of eachComponent, Feature and connection it declares, and lists every value stillempty where that schema requires one, or where it declares the key and nothingsupplied it — each described by the schema's own description. The values areanswered from the answers file: --answers names it, and without it import readsthe one the import's entry in the record beside the drafts names, or elseimport-answers.yaml beside the source file, or inside the source directory. The answers file holds, undereach drafted file's path, the key path inside that document and its answer as astring, with the schema's description in a comment above each key. Each answeris written into the drafts before anything is written or recorded, so an importof the same source, and --sync, read the same answers and draft the same files.An answer for a key these drafts do not leave empty — one only anothertarget's drafts ask for, say — is kept in the file and not applied, so oneanswers file serves every target: import adds the keys it owes, sets theanswers it is given, and leaves every other key and comment as it is, writingthe file only where that changes it. The import's entry in the record besidethe drafts names the answers file where it is not the one beside the source,and holds no answer.
The answers file never holds a secret. A secret's value — one its schema markssensitive — is answered with where the secret comes from: a variable name, areference such as ${OPENAI_API_KEY}, or the name of a Kubernetes Secret.Anything else is refused, naming the key and never the answer, and nothing iswritten.
Where standard input and standard output are both a terminal, and --dry-run isnot given, import asks one question for each value the answers file leavesunanswered, worded from the schema's description; an empty answer leaves thevalue for later, and a secret's answer that is not a name is refused and askedagain. Every answer is written into the answers file, so a later run asksnothing. Anywhere else — a pipe, continuous integration, the assistant's importtool, the editor — nothing is asked: the drafts keep their empty values, theanswers file is written with every owed key present and empty, each owed valueis named on standard error, and import exits 1 with one sentence saying howmany values are owed and where to write them. Under --dry-run nothing is askedand nothing is written: each owed value is named on standard error, and theexit status is the dry run's own.
When the drafts include a Release, owe nothing, and the importer finished,import pulls that Release's dependencies once the drafts are written, exactlyas aggrega pull --release does, writing its release.lock, so aggrega validateand aggrega build work on the drafts at once. Under --offline nothing is pulled,and import names the aggrega pull to run next. A pull that fails leaves thedrafts written and stops import, naming why and the pull to run once it isfixed.
An import never writes over an Aggregate, Component, Feature, Recipe orFeatureRecipe already at one of its drafted paths: an author goes on editingsuch a document once it is drafted, so import stops, naming it and --sync, andwrites nothing — under --dry-run too. Where another format's import into thedirectory drafted it, and that import's entry in the record lists it, importnames that import and --output-dir instead, since a sync of this format wouldnot bring it up to date. Every other file already at a drafted path is writtenover, and a file an earlier import drafted that this one does not draft is leftwhere it is.
--sync brings what an earlier import drafted up to date with the source instead,changing only what the import wrote. A sync reads and writes its own format'sentry in the record, and leaves every other as it is. A sync of a format therecord holds no entry for reads the entry naming no format, where there is one,as its own only where that entry lists a file the sync drafts, and then writesit back under its format; otherwise the sync stops, naming the record, andwrites and removes nothing, since that entry may be another import's. A syncgiven no --target drafts for the target its entry names, so it drafts theManifest the earlier import drafted;given one, it drafts for that target and records it in place of the onerecorded. A recorded target no Recipe in the catalog binds to stops the sync asa target you pass does, saying the target is the recorded one. It judges everypart three ways — what its entry says the import last wrote there, what is ondisk, and what the source drafts now:
- a part the source left as the import last wrote it stays exactly as it is on disk, whether or not you edited it; - a part the source changed is written anew, where it is on disk as the import last wrote it; - a part the source dropped is removed, where it is as the import last wrote it and holds nothing you added — a drafted file is deleted whole; - a part the source gained is added beside the parts the draft names around it.
Everything else stays byte for byte: a key you added anywhere — a parameter, aFeature, under a drafted Component instance too, another Component, theenvironment a drafted Release leaves for you — a comment not written directlyabove a drafted key, and every file its entry does not list, another format'sdrafts among them. Before anything is written, standard error names each partthat drifted, one line each:
added|removed|changed <key> in <file> added|removed|changed <file>
Where the sync would change or remove a part you edited, add a part where youalready wrote one, or remove a part holding something you added, import stops,naming each such part and why, and writes no draft (an answer you typed is keptin the answers file); reconcile them by hand and sync again. A comment you write directly above a drafted key edits that key.An Aggregate, Component, Feature, Recipe or FeatureRecipe at a drafted paththat its entry does not list stops the sync too, saying so — naming anotherformat's import where that import's entry lists it — as does a record thatcannot be read. Where the importer reports a diagnostic that stops the import,a sync writes nothing. A sync into a directory whose record holds no entry itreads, and nothing at its drafted paths, writes the whole draft.
With --sync, --dry-run writes nothing and names the same drift, or stops on thesame conflicts, and the exit status says which: 0 when the drafts are in stepwith the source, 2 when they drifted, and 1 on an error or when the sync isrefused. Standard output carries the files the sync would write, with thecontent it would give them.
On Windows, a draft whose path holds a part Windows cannot hold as written — aname it reserves for a device, such as NUL or aux, with or without an extensionand in any letter case, or a part ending in a full stop or a space — is refusednaming the draft, and nothing is written. On every other platform such a draftis written as it is named.
The source format selects how the importer reads the source. Pass --format toname it explicitly. When --format is omitted, import recognizes the format bythe signatures the importers declare — the workspace catalog's and the coreimporters' alike: each names the syntax a source is read in, the file names itapplies to and the paths its parsed tree must or must not carry. A file isparsed once for each syntax a signature applying to its name reads it in, andthe format of the one importer whose signature matches is the one read. Thesignatures of the Langflow, Flowise and n8n importers, the MCP importer's for aregistry server description and the LangGraph importer's for a configurationnaming its schema, read a file as JSON and name no file, andthe Dify and Agent Framework importers' read it as YAML and name no file, sorecognizing a file imported on its own reads it as JSON and as YAML too. The Dify importerrecognizes an application Dify exports, under any name, by app at its kind andby the application's mode at app.mode and the DSL's version at version.The MCP importer recognizes a client's configuration by its name — .mcp.json,claude_desktop_config.json and .cursor/mcp.json read as JSON, .vscode/mcp.jsonread as JSON with comments, as Visual Studio Code reads it — so such a file underanother name is imported naming --format mcp. The Compose importer reads a file as YAML and recognizes it by the namesCompose reads by default — compose.yaml, compose.yml, docker-compose.yml anddocker-compose.yaml, and their override files compose.override.yml,compose.override.yaml, docker-compose.override.yml anddocker-compose.override.yaml — and an object at services, so a Compose fileunder another name is imported naming --format compose. The CrewAI importerrecognizes a project's declarations by their names: config/agents.yaml andconfig/tasks.yaml, read as YAML, and crew.jsonc holding a list at agents andagents/<name>.jsonc holding a role, read as JSON with comments, as are theirstrict-JSON spellings crew.json and agents/<name>.json, a .json file not beingread where its .jsonc spelling is handed too; it is handed those files and noother, so a crew's program is never read. The LangGraph importer recognizes anapplication's configuration, read as JSON with an object at graphs, by its name,langgraph.json, or, under any name, by https://langgra.ph/schema.json at its$schema; of a directory it is handed that file alone, so neither theapplication's code nor an environment file is ever read, and the environmentfile a configuration names is read, for its variables' names alone, only wherethe importer's with.sources hands it. The Google ADK importer recognizes an application's root agentconfiguration, read as YAML, by its name, root_agent.yaml, and an agent's namewith its instruction or its agent_class; of a directory it is handed eachroot_agent.yaml alone, so neither the application's code nor its environmentfile is ever read, and the configuration a sub_agents entry names is read onlywhere the importer's with.sources hands it. The Agent Framework importerrecognizes a declarative agent, under any name, by Prompt at its kind and anobject at its model, read as YAML; it names no file, so a directory is neverhanded to it, and a declarative agent is imported as a file of its own. TheCloudFormation, Terraform and Azure Resource Manager schema importers draft noAggregate: they draft a Component and a Recipe for each resource type theimporter's resource_types setting names, or for the one type a source holds, andthey are read as JSON. The cloudformation-schema importer recognizes aresource type's provider schema, in any .json file, by typeName and properties,and the output of describe-type by TypeName and Schema; the terraform-schemaimporter recognizes the export of terraform providers schema -json, in any .jsonfile, by format_version and provider_schemas; the arm-schema importer recognizesa Bicep types.json by its first entry's $type. A directory isrecognized the same way over the files it holds: each signature is tried against the filesits file names match, and a signature that names no file applies to none ofthem. If no signature matches, import stops, asks for --format and names theformats the importers advertise — or, for a directory, asks for one of itsfiles imported on its own or for a format whose importer declares filepatterns, naming only those; if signatures of more than one format match,it stops and names them. It does not guess. Recognition reads nothing but thesource — of a directory, only the files a signature's file names match — andreaches no network.
The format also chooses the import's entry in the record beside the drafts,which names the catalog snapshot the import reads, so it is settled before thatsnapshot is read: --format names it; under --sync, a record holding one entrygives that entry's format; and where the record holds entries of severalformats and --format is not given, the source is recognized first by theimporters of the workspace's catalog folders and the core importers alone.Where none of them recognizes it, import stops, asking for --format and namingthe formats the record holds.
Recognition and the importer read the source through the parser theworkspace's catalog serves for its syntax, and, for a syntax the catalogserves no parser for, through the parser the compiler itself carries for it —JSON, JSON with comments and YAML among them — so a workspace whose catalog holds no parser stillrecognizes and imports a source the core importers read. Where the catalogserves a parser for a syntax, the compiler's own plays no part in reading it.The compiler's parsers are part of the binary, so nothing is fetched for one.A syntax neither serves stops the import, naming the syntax no parser serves,and a source its parser refuses stops the import with the parser's reason.
Before the drafted output, import names on standard error the format it readthe source as and the directory the drafted paths are relative to, then anydiagnostics the importer reported, then one line for each source node theimporter mapped, in the importer's order:
mapped <node id> (<node type>) to <target> as a <mode>, <tier> at <score>
naming the catalog Component or draft it chose for the node, whether it isreferenced or drafted, the match tier, and the score of the best candidate itweighed. A node the importer weighed no candidate for has no score, and its lineends at the tier; a node it made no choice for reads "made no choice for <nodeid> (<node type>)"; then, under --sync, the drift lines. Standard outputcarries only the result — the paths written, and under --sync the pathsremoved, or the drafted files themselves under --dry-run — so it can be pipedunchanged.
--dry-run does everything import does except write: standard output carries onedocument listing each drafted file's path and its content, so the result can bereviewed, parsed or piped before anything reaches disk. Every other behaviour isthe write's — the same importer runs over the same source and reports the samediagnostics — so what a dry run shows is what a write would put on disk, and asource the write would refuse is refused here too.फ़्लैग
| फ़्लैग | डिफ़ॉल्ट | विवरण |
|---|---|---|
--answers | — | वह उत्तर फ़ाइल जिससे ड्राफ़्ट द्वारा खाली छोड़े गए वे मान पढ़े और जिसमें लिखे जाते हैं जिन्हें कोई स्रोत नहीं रख सकता: हर ड्राफ़्ट की गई फ़ाइल के पाथ के अंतर्गत, उसके भीतर का key पाथ और उसका उत्तर। सापेक्ष पाथ उस डायरेक्टरी के विरुद्ध रिज़ॉल्व होता है जिसमें आप कमांड चलाते हैं। इसके बिना, ड्राफ़्ट के बगल के रिकॉर्ड में इम्पोर्ट की प्रविष्टि जिस उत्तर फ़ाइल का नाम देती है वह, अन्यथा स्रोत फ़ाइल के बगल में, या स्रोत डायरेक्टरी के भीतर, import-answers.yaml। किसी सीक्रेट का उत्तर उस स्थान का नाम है जहाँ से सीक्रेट आता है, कभी स्वयं सीक्रेट नहीं। |
--dry-run | false | लिखने के अलावा सब कुछ करें: ड्राफ़्ट की गई फ़ाइलों को सामग्री के रूप में वापस दें, यह बताते हुए कि हर एक किस फ़ाइल के लिए है, और कुछ भी न बनाएं न बदलें। बाकी हर व्यवहार लेखन वाला ही है, इम्पोर्टर का रन सहित। इसके बिना ड्राफ़्ट डिस्क पर लिखे जाते हैं। |
--format | — | स्रोत फ़ॉर्मेट का नाम स्पष्ट रूप से दें, इम्पोर्टर के सिग्नेचर द्वारा पहचान को ओवरराइड करते हुए (उदाहरण के लिए langflow, flowise, n8n, mcp, compose, dify, crewai, langgraph, google-adk, agent-framework, cloudformation-schema, terraform-schema या arm-schema) |
--output-dir | — | वह डायरेक्टरी जिसके अंतर्गत ड्राफ़्ट की गई फ़ाइलें लिखी जाती हैं। सापेक्ष पाथ उस डायरेक्टरी के विरुद्ध रिज़ॉल्व होता है जिसमें आप कमांड चलाते हैं, और Windows पर अकेले नामित ड्राइव, जैसे D:, उस ड्राइव की वर्तमान डायरेक्टरी है। इसके बिना ड्राफ़्ट उस वर्कस्पेस के रूट के नीचे लिखे जाते हैं जिसे रन ने रिज़ॉल्व किया। |
--sync | false | पहले के किसी इम्पोर्ट ने जो ड्राफ़्ट किया उसे स्रोत के अनुरूप अद्यतन करें, केवल वही बदलते हुए जो इम्पोर्ट ने लिखा था, जैसा ड्राफ़्ट के बगल के रिकॉर्ड में उसकी प्रविष्टि सूची देती है, और हर उस भाग का नाम बताते हुए जो भटक गया। —dry-run के साथ, मेल में होने पर 0, भटकने पर 2, और त्रुटि या अस्वीकृति पर 1 के साथ बाहर निकलें। |
--target | — | इस प्रोवाइडर क्षमता के लिए एक Manifest ड्राफ़्ट करें — वह शब्द जिससे किसी Recipe का spec.capability बँधता है, उदाहरण के लिए compose या helm — जो ड्राफ़्ट को चाहिए हर component type और feature type को उस क्षमता के उस Recipe या फ़ीचर रेसिपी से मैप करता है जिसे वर्कस्पेस का कैटलॉग उसके लिए देता है, जो एक है वह, या कई में से वह जिसका नाम उस type पर रखा गया है, और ड्राफ़्ट किए गए Release को उसकी ओर इंगित करें। ऐसी क्षमता जिससे कैटलॉग का कोई Recipe नहीं बँधता, इम्पोर्टर चलने से पहले अस्वीकार की जाती है। इसके बिना कोई Manifest ड्राफ़्ट नहीं होता, सिवाय इसके कि —sync वह लक्ष्य फिर से उपयोग करता है जो पहले के इम्पोर्ट को दिया गया था। |
--upgrade | false | प्रकाशित कैटलॉग को वर्तमान रजिस्ट्री स्थिति से फिर से पढ़ें: वर्कस्पेस की डिफ़ॉल्ट रजिस्ट्री द्वारा प्रकाशित सबसे नया कैटलॉग स्नैपशॉट लाएं, उसे सत्यापित करें, और उसके विरुद्ध इम्पोर्ट करें, और उसे वह स्नैपशॉट मानें जिससे यह वर्कस्पेस उसके बाद पढ़ता है, उसकी जगह जो उसके पास है या जिसका नाम ड्राफ़्ट के बगल के रिकॉर्ड में इम्पोर्ट की प्रविष्टि देती है। स्नैपशॉट वर्कस्पेस के कैटलॉग फ़ोल्डरों के पीछे पढ़ा जाता है, जहाँ उसके पास कोई हों। इसे —offline के अंतर्गत अस्वीकार किया जाता है, और वहाँ भी जहाँ कोई डिफ़ॉल्ट रजिस्ट्री नामित नहीं है या रजिस्ट्री तक पहुँचा नहीं जा सकता |