-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
small fixes to get example_project working #1
Conversation
I wanted to mention that we plan to tweak the requirements so it doesnt need to be postgres. We can do a similar sort in most DB engines, but its engine specific, and we can fall back to just sorting by last seen, or times seen. |
That is a good approach to make it engine agnostic, but having undocumented dependencies like postgres (for the moment) and pygooglechart is a bad practice; at least document them. |
This basically re-implements #13689 in a more simple way. This is possible due to other changes that we have done to issue details (#13875, #14731). This also (semi) fixes an issue with loading Issue Details with an environment in the URL. Previously, it would fetch details API serially: 1) without env and 2) with env. There would be a slight flicker between loading -> finished req #1 -> loading -> finished req #2. Now this seems to fire both at near the same time and cancels the initial request almost immediately. This is still not ideal but is an interim-fix as the ideal solution is a bit more involved, but will be on its way.
This basically re-implements #13689 in a more simple way. This is possible due to other changes that we have done to issue details (#13875, #14731). This also (semi) fixes an issue with loading Issue Details with an environment in the URL. Previously, it would fetch details API serially: 1) without env and 2) with env. There would be a slight flicker between loading -> finished req #1 -> loading -> finished req #2. Now this seems to fire both at near the same time and cancels the initial request almost immediately. This is still not ideal but is an interim-fix as the ideal solution is a bit more involved, but will be on its way.
This basically re-implements #13689 in a more simple way. This is possible due to other changes that we have done to issue details (#13875, #14731). This also (semi) fixes an issue with loading Issue Details with an environment in the URL. Previously, it would fetch details API serially: 1) without env and 2) with env. There would be a slight flicker between loading -> finished req #1 -> loading -> finished req #2. Now this seems to fire both at near the same time and cancels the initial request almost immediately. This is still not ideal but is an interim-fix as the ideal solution is a bit more involved, but will be on its way.
This basically re-implements #13689 in a more simple way. This is possible due to other changes that we have done to issue details (#13875, #14731). This also (semi) fixes an issue with loading Issue Details with an environment in the URL. Previously, it would fetch details API serially: 1) without env and 2) with env. There would be a slight flicker between loading -> finished req #1 -> loading -> finished req #2. Now this seems to fire both at near the same time and cancels the initial request almost immediately. This is still not ideal but is an interim-fix as the ideal solution is a bit more involved, but will be on its way. The tests introduced in #18452 should cover the changes in this PR.
First off I noticed the pygooglechart dependency which was not documented so I added some view code which only uses it if the package is installed, otherwise the views will not fail. I also patched up the README to include the dependencies which are postgresql, Django>=1.2 (for external db logging), and pygooglechart (which i made optional). Also when trying to test the example project i saw that the app itself was not added to the path, which i corrected to point to the app in the current checkout. I also saw a 'paging' app and i have no idea where that is coming from. Where can I get 'paging' and what does it do? Im trying to get this into a good shape enough so that i can clone the repo, cd to example_project, and get the project up and running so I can see the error reporting. The postgres only approach is the hardest thing to overcome in my opinion, but I can see that it is necessary to do some high performance analytics on the errors.