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

Export/Import functionality per Exercise #20

Open
l00mi opened this issue Sep 19, 2016 · 9 comments
Open

Export/Import functionality per Exercise #20

l00mi opened this issue Sep 19, 2016 · 9 comments
Assignees
Milestone

Comments

@l00mi
Copy link
Member

l00mi commented Sep 19, 2016

To make sure uses can save their exercises for later uses and to make it possible to exchange exercises between different instances of the platform we need an export on the level of an exercise.

Not sure if there is a unique Exercise ID? This would be use full if an exercises is imported again on the same platform, to propose it as an update and not have a duplicate.

Also the unique IDs generated by Meteor should be globally unique, so no need to try to come up with something more clever.

@StrubT StrubT added the prio3 label Sep 19, 2016
@StrubT StrubT self-assigned this Sep 19, 2016
@StrubT
Copy link
Member

StrubT commented Sep 19, 2016

I'll think about it some more and come up with a solution as soon as I have a have a working export/import process.

@l00mi l00mi added prio1 and removed prio3 labels Sep 20, 2016
@l00mi
Copy link
Member Author

l00mi commented Sep 20, 2016

Hmm.. This issue is about the export / import process? We like to push this strongly, because it will relax the fear of loosing exercises by the users creating them.

@StrubT
Copy link
Member

StrubT commented Sep 20, 2016

OK, WILCO. Who is afraid?
But in this case, we probably have to create not just a single import/export but a bulk export as well.
What collections of exercises would you like to be able to export? Just your own? A whole category? A whole language? All of them?

@l00mi
Copy link
Member Author

l00mi commented Sep 21, 2016

We were discussing that we might have something like a exercises inventory in the far future. Where exercises can be catalogued and there is a nice interface inside progressor to fetch them. All this might even be based on github, a bit like npm works.

But anyway I think we should have a json file per exercise. I like the idea to export multiple exercises, this should but then trigger the download of multiple json files (or a zip with multiple json files). So that each exercises can be handled separately.

@l00mi
Copy link
Member Author

l00mi commented Sep 21, 2016

Once working we might looking into producing valid json-ld.
http://json-ld.org/

@StrubT
Copy link
Member

StrubT commented Sep 21, 2016

But if you want to export one exercise per file, would that mean I should exclude any references (category, author, editor, release status)?
An imported exercise would then have to be assigned to a category and would be treated as a private exercise of the importer.

@l00mi
Copy link
Member Author

l00mi commented Sep 22, 2016

Hmm, I would prefer that this kind of metadata is included in plain-text in this file.

Which means that the import needs to do some logic like looking for the category and referencing correctly or creating a new category.

@l00mi l00mi added this to the Go Public milestone Oct 20, 2016
StrubT added a commit that referenced this issue Nov 18, 2016
@StrubT
Copy link
Member

StrubT commented Nov 18, 2016

  • export
  • basic import
  • advanced import features
    • assign new category

@l00mi l00mi modified the milestones: 1.1, Go Public Nov 19, 2016
StrubT added a commit that referenced this issue Oct 1, 2017
@StrubT
Copy link
Member

StrubT commented Oct 17, 2017

@l00mi: added basic import functionality (cannot yet re-assign category)
deployed to BFH test environment

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

No branches or pull requests

2 participants