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

Find a way to update renamed notebook — instead of creating a new one & deleting old one like now #157

Open
hectorperez opened this issue Mar 30, 2023 · 2 comments
Labels

Comments

@hectorperez
Copy link
Collaborator

hectorperez commented Mar 30, 2023

We call UserNotebooksSyncWorker every day for every user.

When a notebook title or path is changed, it creates the notebook again and deletes the old one instead of updating it.

If we do this:

@hectorperez hectorperez added question Further information is requested research and removed question Further information is requested labels Mar 30, 2023
@hectorperez
Copy link
Collaborator Author

hectorperez commented Mar 30, 2023

This may help:

When a user or org has been renamed, and you go to an old notebook URL [1], GitHub redirects to the new one [2].

Yet, [3] does not redirect to [4].

[1] https://github.com/pryde/nabp/blob/e015368c197d579c9f11fb2daf32898b7cb8ab6e/notebook/exploration.livemd
[2] https://github.com/chasebussey/nabp/blob/e015368c197d579c9f11fb2daf32898b7cb8ab6e/notebook/exploration.livemd
[3] https://github.com/pryde
[4] https://github.com/chasebussey

@hectorperez
Copy link
Collaborator Author

I opened a discussion on Livebook's about unique identifiers for notebooks livebook-dev/livebook#2585

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

No branches or pull requests

1 participant