Refactoring: RemoteAliasesRegistry
, RemoteAliasResolver
, and RemoteRepositoryRegistry
should exist only in CLI layers
#985
Labels
Depends on #981
Remote aliases and remote repositories are purely a CLI feature, and on today there are no plans to build any Web UI or Node equivalent. Still, they historically got deeply interrelated with some of the core services, which are not specific to CLI, such as:
In addition, the information on pull and push aliases is directly attached to ODF dataset representation (info repo,
config
object), which is breaking portability expectations. It's also unprepared to handle transactionality, esp. when attaching aliases at the end of operations that did not commit changes to the database yet.TODO in this ticket:
Note: attaching pull & push aliases after succesful syncs can be done in commands or via outbox consumers, specific to CLI
The text was updated successfully, but these errors were encountered: