Importing Types From Other Repos
Last updated
Last updated
Importing Types from other repos, allows you to bring the most recent version of types from that repo, into your repo, so that you can start using them to make commits.
To help you get started faster, you will notice that the types from the standard repo of warmhub are automatically imported into each repo. This means that many fundamental types and sources are already available in your repo.
To import types from another repo, click the Import Types button, located in the upper right hand corner of the Types page of the repo that you want to import types into. You can then browse or search for the repo that you would like to import types from, and click the + button next to the repo you wish to import types from.
Notes:
When importing Types from a repo, you will import all of the types that exist in that repo at the time of import. This may include types that were imported into that repo as well, due to dependencies between the types.
You can import the types from multiple repos into your repo.
When you import types from other repos, you do not have the ability to edit them yourself.
Additionally, they will not automatically update with any changes that the owner of those types makes. To update the types imported from a repo to the most recent version, click the ellipses (...) in the action column next to that repo in the Imported Types From Other Repos grid, then select Update.
Notes
You can only update to the most recent version of the types in that repo
You may be unable to update, if you have dependencies in your types, that would be broken by the updated version. You will be informed of this when you click the Update option and alerted to what Types need to be edited to remove these dependencies before you update.
Example: If you build an Evidence Type, that relies on an imported Article Type that would be removed by the update, you will need to update or archive the evidence type, before you can update to the most recent version of the types from that repo.
To archive, or remove, types imported from a repo, click the ellipses (...) in the action column next to that repo, in the Imported Types From Other Repos grid, then select Archive.
Notes
You may be unable to archive, if you have dependencies in your types, that would be broken by removing the imported types. You will be informed of this when you click the archive option and alerted to what Types need to be edited to remove these dependencies.
Example: If you build an Evidence Type, that relies on an imported Article Type that would be removed, you will need to update or archive the evidence type, before you can archive the imported types from that repo.
The Types imported from the standard repo of warmhub, are present in every repo to help you build faster, and cannot be archived.