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

get_id function do not guarantee same UUID with different path #1

Open
item4 opened this issue Jan 12, 2016 · 2 comments
Open

get_id function do not guarantee same UUID with different path #1

item4 opened this issue Jan 12, 2016 · 2 comments

Comments

@item4
Copy link

@item4 item4 commented Jan 12, 2016

I'm using travis-ci for publish lektor.

If travis change build dir, lektor produce different id value (ctx.env.project.id).

See this code for detail

I think you may make way to fix project id or suggest to mitsuhiko to make unique id without path.

@goanpeca

This comment has been minimized.

Copy link
Collaborator

@goanpeca goanpeca commented Jun 12, 2018

@item4 is this still a problem?

@jonasvp

This comment has been minimized.

Copy link

@jonasvp jonasvp commented Jan 28, 2019

I ran across this bug on lektor-atom 0.3 as well - I moved the project on my disk and it ended up generating new IDs for all items in the RSS feed. Quite annoying for all my subscribers.

@item4 is quite correct as to the cause, since lektor-atom uses Lektor's project id in the item ID here. Maybe the ID generated by lektor-atom should be independent of Lektor's project id? Just using the path should be unique enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.