Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bucket should clean up circular aliases during merges #119

Open
dgw opened this issue Jul 11, 2018 · 0 comments
Open

Bucket should clean up circular aliases during merges #119

dgw opened this issue Jul 11, 2018 · 0 comments
Assignees
Labels

Comments

@dgw
Copy link
Collaborator

dgw commented Jul 11, 2018

Let Bucket have two factoids: thing, which contains tidbits; and other thing, which is an alias to thing.

The only entry in other thing is <alias> thing. If an admin issues Bucket, merge thing => other thing, all of the tidbits in thing will be moved to other thing, and thing will become just <alias> other thing. But other thing will still contain <alias> thing.

Merging factoids together should not result in circular aliases. If the target factoid is already an alias, Bucket should either refuse to merge (probably sensible if it points elsewhere) or remove the alias from the target before merging (sensible if the target points to the source factoid).

@dgw dgw added the bug label Jul 11, 2018
@dgw dgw self-assigned this Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant