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

Remove ManualRelocator #878

Closed
wants to merge 1 commit into from
Closed

Remove ManualRelocator #878

wants to merge 1 commit into from

Conversation

chrislo
Copy link
Contributor

@chrislo chrislo commented Mar 16, 2017

The last reference to this class was removed in f8698ce. It is
mentioned in #851 as a recent example of useful script that has tests
so we may want to use it in the future to base a similar migration
on. But for now it cannot be used externally via a script or rake task
so I think it is safe to remove it.

The last reference to this class was removed in f8698ce. It is
mentioned in #851 as a recent example of useful script that has tests
so we may want to use it in the future to base a similar migration
on. But for now it cannot be used externally via a script or rake task
so I think it is safe to remove it.
Copy link
Contributor

@floehopper floehopper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@h-lame
Copy link
Contributor

h-lame commented Mar 16, 2017

You might want to keep this around - it's a complicated task and used specifically in response to support queries that come in. Responding to support queries may not always be dealt with by committed scripts (although they probably should be).

@chrislo
Copy link
Contributor Author

chrislo commented Mar 16, 2017

Thanks for pointing that out @h-lame - if this is still used, I might add and document a small script in /bin that allows it to be used from the command line. That way there'll be a reference to this class somewhere in the codebase to remind us that it is used.

@chrislo chrislo closed this Mar 16, 2017
@chrislo chrislo modified the milestone: Scripts Apr 25, 2017
chrisroos added a commit that referenced this pull request Apr 28, 2017
I don't fully understand the use case for this script but we've agreed
to wrap it in a Rake task to prevent us from removing it in future. We
tried to remove it in PR #878 but @h-lame pointed out that it might
still be useful for certain support requests that come in.

Note that commit 21fcb3f changed the
behaviour of this utility so that both manuals had to be published
before you could move one to the other. This seems slightly confusing to
me as I think it means that the script essentially overwrites one manual
with the other.
@floehopper floehopper deleted the remove-manual-relocator branch May 24, 2017 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants