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 restriction on guid length #4249

Merged
merged 1 commit into from Jun 28, 2013
Merged

Conversation

jhass
Copy link
Member

@jhass jhass commented Jun 22, 2013

This is more a request for comments than a pull request

I think it would be a good idea to switch GUID generation to UUIDs: https://github.com/MrZYX/diaspora/compare/uuid However our current database schema limits their length too much, so it would be a change breaking federation, the earliest point where we could do it is the next major release. What we could already do though is removing that restriction, reducing the impact in the migration phase.

@Raven24
Copy link
Member

Raven24 commented Jun 22, 2013

is there any conceivable difference between the uuid and uuidtools gems (both say they follow RFC 4122)?
Ruby Toolbox ranks uuidtools a little higher...

@jhass
Copy link
Member Author

jhass commented Jun 22, 2013

Well uuids API is a lot nicer and it focuses on the namespaced, timestamp based ones and seem to do them really well.

@Raven24
Copy link
Member

Raven24 commented Jun 26, 2013

In principle I'm totally ok with this, better to introduce this sooner than later.
Third opinion, anyone?

@denschub
Copy link
Member

👍

@Raven24
Copy link
Member

Raven24 commented Jun 26, 2013

alright then, changelog and go ;)

Raven24 added a commit that referenced this pull request Jun 28, 2013
Remove restriction on guid length
@Raven24 Raven24 merged commit 5731274 into diaspora:develop Jun 28, 2013
@Raven24
Copy link
Member

Raven24 commented Jun 28, 2013

thanks!

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.

None yet

3 participants