Comments (9)
It is for historical reasons. Migrating from Revision->Project to Revision->Branch->Project was a bit messy (there are several scripts to migrate an old DB). In order for the migration to work, revision.project was left there.
I also do not like that python manage.py syncdb
doesn't leave you with a new, clean DB. You need an extra step.
It would be a task for the next release (1.0.0?) to remove this migration artefact.
from codespeed.
I also do not like that python manage.py syncdb doesn't leave you with a new, clean DB. You need an extra step.
Agreed. It probably is helpful to users migrating projects across releases, but is has its downsides (spending hours trying to migrate complex schema changes - what some lines of SQL can achieve).
But the issue is still there. I had to add a migration in two branches now to keep the commits separated. Should we include the migration that is missing (to have a clean base) or remove Revision.project
right away? In my opinion, one of these should be done, if you plan to keep using south.
from codespeed.
IMO removing Revision.project would be a cleaner solution looking forward
from codespeed.
Alright, I'll send a pull request then.
from codespeed.
@squiddy do you intend to send a pull request for this yet?
from codespeed.
Yes, I'll send one today. Better late than never.
from codespeed.
Great, thanks
from codespeed.
Hm, I underestimated the work involved. I doubt I'll have time for this.
First thing I noticed is that there seems to be a migration conflict. Two migrations occupy the same timeslot, 0011. Apparantly the conflict was not resolved, therefore south does not detect the 'commit_browsing_url' migration here and wants to create a new one. I don't know if recreating it as 0012 and deleting the old is enough.
Removing Revision.project breaks a lot of API tests. I had a quick look at the code, but it would take some time to understand it. Maybe a8 can help here?
from codespeed.
Migrations are clean now
from codespeed.
Related Issues (20)
- Development server doesn't serve static files HOT 1
- Clarify installation in readme
- Commit IDs are compared with startswith?
- run_gunicorn does not work HOT 2
- Make site title text clickable HOT 1
- Select multiple benchmarks in timeline
- All doesn't work after clicking None in comparison
- Support breakdowns
- Zero-padded file modes HOT 2
- Performance of Timeline View with large numbers of Benchmarks HOT 1
- Completely refreshing a timeline with an active benchmark leads to a crash when the benchmark name has a space HOT 1
- Apache 500 error with debug = false HOT 2
- Hang after reporting a negative mean
- Flake8 upgrade to 3.7.6 is causing Travis CI to fail
- result.value < 0 will hang report creation
- updating django version used HOT 5
- git repo doesn't work with python3
- Consider dropping python2 HOT 1
- POST resulting in 403 HOT 1
- display of versions is too noisy on comparisons pages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codespeed.