-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Deleted bookmarks app #3663
Deleted bookmarks app #3663
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR! Look good!
I found there are some more ophaned things related to the bookmark apps:
bookmark_list_detailed.html
needs to be removed also- remove from prospector file
- remove from docs index
- in
footer.js
there is some references that I'm not sure if we need to remove them
Besides, I left a comment to not create those migrations files (there is a PR for that at #3608)
Please, make those changes and I'd say that we will be ready to merge. Thanks for your contribution!
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('gold', '0001_initial'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, remove these migration files that were created.
Thanks for replying this fast @humitos. |
@humitos Done as requested |
@@ -1,91 +0,0 @@ | |||
# SOME DESCRIPTIVE TITLE. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this file should stay
@@ -1,216 +0,0 @@ | |||
# SOME DESCRIPTIVE TITLE. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one too
@@ -92,23 +92,6 @@ function injectFooter(data) { | |||
} | |||
} | |||
|
|||
|
|||
function setupBookmarkCSRFToken() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are touching this .js file, I think we need to call gulp build
and add the file generated (I'm not sure though).
In any case, if you don't know how to do it, let me know and I can check this by myself before merging: http://docs.readthedocs.io/en/latest/development/standards.html#getting-started
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, you'll need to regenerate the built assets with this PR.
I don't know how to do it but I am willing to learn. |
@Jigar3 Nice! Please, read the guide that I linked in my comment and let me know if you get block on some of those steps. |
@humitos While running bower install I am getting the
error. While running gulp build I get three browserify errors. |
@Jigar3 I will need you to share more context so I can help you because that output is not enought for me. What commands are you running? What are they output? |
@humitos As mentioned in the article you shared here.
That gave me the following output.
I then went ahead and tried the command.
That gave me following errors
|
You have the commands correct, however there is a fun problem happening in the JS community right now: maintainers are removing support for bower and are removing their packages from the bower repository. A quick fix would be to pull these dependencies from npm instead. If not, I had started a replacement for our gulp + bower build system, using webpack + npm. We're blocked on even building our assets until we figure this out. I'll open a ticket to track work there, but will set this to blocking for now. |
Blocking on #3691 |
@Jigar3 can you try rebuilding the javascript files again? It seems to be fixed now. |
Believe this should be good. I believe during deploy we need to run:
I'm not sure if we need to run this before or after the app is deleted. Will have to see. |
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this migration isn't really necessary here and the other one I'm not sure
Thanks! |
Removed the migrations here locally and then merged. 👍 |
This is with regards to #3659 .
Please correct me if I made any mistakes while deleting the app.