Skip to content

Conversation

nkCreation
Copy link

Add a fetching script to unzip file from GDrive

@nkCreation nkCreation requested a review from zigarn September 27, 2021 15:11
corrections_archive_file_id="<ZIP_ID_FROM_GDRIVE>"

# fetch from gdrive
# Archive must be in .tar.xz format
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il faudrait proposer les mêmes options que l'Orb training-resource (https://github.com/Zenika-Training/training-resource-orb/blob/main/src/jobs/publish.yml#L24) avec différents modes de décompression (ou même aucun).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

je regarde ça jeudi 🙂

Copy link
Contributor

@zigarn zigarn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il faudrait implémenter un fallback sur gdown dans le cas où le fichier est trop gros et donc bloqué par une demande de validation.

Ou sinon uniquement utiliser gdown.

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