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

Importcontent manifest file v015 #25

Draft
wants to merge 8 commits into
base: release-v0.15.x
Choose a base branch
from

Conversation

danigm
Copy link

@danigm danigm commented Jun 29, 2022

Backport the learningequality#9467 PR to v0.15

Using the same list of nodes selected for export, we can generate a set
of node IDs which work with importcontent.
This case indicates that all of the content from the channel is
included. It is distinct from include_node_ids being an empty list,
which suggests that none of the content is included.
When node_ids and exclude_node_ids are empty lists, we can understand
this to mean that no nodes are being selected. This is distinct from
when they are None, which means the default behaviour of selecting all
nodes. This is useful to provide a sane fallback when a manifest file
has no information about a channel.
When node_ids is set to an empty list, importcontent will understand
that to mean "no nodes", which is different from when node_ids is unset.
@danigm danigm force-pushed the importcontent-manifest-file-v015 branch from 4aa0b15 to 5285c16 Compare June 30, 2022 11:27
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.

2 participants