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

Feature Request: Add --manifest-only option to exportcontent #10384

Closed
3 tasks
tim-moody opened this issue Apr 5, 2023 · 9 comments
Closed
3 tasks

Feature Request: Add --manifest-only option to exportcontent #10384

tim-moody opened this issue Apr 5, 2023 · 9 comments
Assignees
Labels
DEV: backend Python, databases, networking, filesystem... help wanted Open source contributors welcome

Comments

@tim-moody
Copy link

tim-moody commented Apr 5, 2023

My understanding is that 0.16 will generate a channel manifest during

kolibri manage exportcontent

My request is that you add an option that will not do the export of content but only generate the manifest. This manifest could then be used on another remote install to import from network the same set of content.

Tasks

Preview Give feedback
@rtibbles
Copy link
Member

rtibbles commented Apr 5, 2023

Thanks @tim-moody - I think this should be relatively feasible, the merging of the manifest files with sequential exports only happens within the manifest files themselves, and doesn't need access to the resources being on disk if I recall. I'll add this to our patch release milestone for 0.16.x.

@rtibbles rtibbles added this to the 0.16 Future Patches triage milestone Apr 5, 2023
@holta
Copy link

holta commented Apr 6, 2023

@rtibbles any idea if Kolibri 0.16 is expected in Q2 or Q3 or Q4?

If you happen to know anyway, No Obligation!

(Internet-in-a-Box is looking into stronger support for Kolibri, just a rough idea would be great if available!)

@rtibbles
Copy link
Member

rtibbles commented Apr 6, 2023

0.16 will be released in Q2. It is nearly feature complete, and we will start cutting betas rather than alphas in the very near future.

@holta
Copy link

holta commented May 27, 2023

0.16 will be released in Q2. It is nearly feature complete, and we will start cutting betas rather than alphas in the very near future.

@rtibbles any chance we (Internet-in-a-Box) can help beta-test this channel manifest functionality in coming-weeks-or-so ?

If possible anyway, ideally !!

Thank you for considering 📚

@rtibbles rtibbles changed the title Feature Request: Add --manifest_only option to exportcontent Feature Request: Add --manifest-only option to exportcontent Mar 29, 2024
@rtibbles rtibbles added DEV: backend Python, databases, networking, filesystem... help wanted Open source contributors welcome labels Mar 29, 2024
@thesujai
Copy link
Contributor

thesujai commented Apr 4, 2024

Looks interesting! I would love to implement this feature. Can you assign me this ticket?
Just a little confused about exportcontent command that how is it working, I don't see it in the doc. Any relevant code for this?

@rtibbles
Copy link
Member

rtibbles commented Apr 4, 2024

It is a custom Django management command, implemented here: https://github.com/learningequality/kolibri/blob/develop/kolibri/core/content/management/commands/exportcontent.py

This would involve adding an option to the arg parser for the management command and then using that option to conditionalize the behaviour. It should default to False :)

As we've targeted this for the 2nd planned patch of the 0.16.x series, please branch from and target any work to the release-v0.16.x branch.

And thank you! I've assigned you!

@thesujai
Copy link
Contributor

thesujai commented Apr 4, 2024

Alright, Thank you!

@rtibbles
Copy link
Member

rtibbles commented Apr 12, 2024

This has been fixed in #12059 - this will be released in the next patch release of 0.16 - 0.16.2. Which will be released on or before 2024-05-13.

@tim-moody
Copy link
Author

Great. Thanks. I will use this to catalog channels installed for Internet in a Box installation presets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEV: backend Python, databases, networking, filesystem... help wanted Open source contributors welcome
Projects
None yet
Development

No branches or pull requests

4 participants