Skip to content

[WIP] delete tags when user is deleted - #12821

Closed
PVince81 wants to merge 1 commit into
masterfrom
tags-deletewhenuserisdeleted
Closed

PVince81 wants to merge 1 commit into
masterfrom
tags-deletewhenuserisdeleted

Conversation

@PVince81

Copy link
Copy Markdown
Contributor

🚧

Delete tags and relations when a user is deleted.

Fixes #12816

This is tricky because I cannot use ITags because it's based on type.
I cannot use the TagMapper alone as it's only the tags, not the relations.
So... trying to sneak this in... feels a bit convoluted.

@icewind1991 @ockham @LukasReschke @Raydiation

@ghost

ghost commented Dec 12, 2014

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/4441/

Build result: FAILURE

[...truncated 16 lines...]Fetching upstream changes from https://github.com/owncloud/core.gitusing GIT_SSH to set credentials using .gitcredentials to set credentials > git config --local credential.helper store --file=/tmp/git2167890526423684927.credentials # timeout=10 > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git config --local --remove-section credential # timeout=10 > git rev-parse origin/pr/12821/merge^{commit} # timeout=10 > git branch -a --contains 97a55bd12f932aa4638aaf1400501be227048d02 # timeout=10 > git rev-parse remotes/origin/pr/12821/merge^{commit} # timeout=10Checking out Revision 97a55bd12f932aa4638aaf1400501be227048d02 (origin/pr/12821/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 97a55bd12f932aa4638aaf1400501be227048d02First time build. Skipping changelog. > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveTriggering pull-request-analyser-ng-simple » SLAVEpull-request-analyser-ng-simple » SLAVE completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 1 second
💣 Test FAILed. 💣

@scrutinizer-notifier

Copy link
Copy Markdown

The inspection completed: 6 new issues, 4 updated code elements

@PVince81

Copy link
Copy Markdown
Contributor Author

Closing. This would be better done using a background job that deletes orphaned entries.

@PVince81 PVince81 closed this Mar 18, 2015
@PVince81
PVince81 deleted the tags-deletewhenuserisdeleted branch March 18, 2015 10:09
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deleting user must delete all their tags

3 participants