Refactor project specific code #113
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@kwankyu, @mkoeppe I'm sorry I haven't found time to help here for a few weeks. While trying to update myself (at least a bit), I noticed that in the heat of development, a lot of Sage-specific code ended up in the
migration.pyfile.So I'm proposing this PR to relegate this to the config files. The patch produces exactly the same output as the previous commit, but reduces the Sage-specific coding in the Python file:
Furthermore, I do some cleaning in terms of avoidable use of literals.
BTW: I noticed this
unknown milestone "sage-9.1.1"(with and without the patch):It is not present in the
unmapped_milestones.txt. Where does it come from? I didn't find it in any Trac ticket.The following questions go back in time, but I couldn't find answers for them:
I'm wondering why renaming
WikiStarttoHomewas dropped as it breaks the start page for the GitHub wiki (assuming it will be chosen as the final destination). What is the intention? Will it be replaced by a softlink?I still don't understand the need to delete the wiki subtree. I agree with the argument given in the comment dated 12/22/16 of PR Fix E5 of issue #18 #26 that there could be ambiguities (theoretically). But I don't see any examples of this. Anyway, if this is necessary, why are we using whitespaces as delimiters in filenames?