aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/batchaddmedia.py
Commit message (Collapse)AuthorAgeFilesLines
* Added the 'requests' library as a dependency and switched over to using it totilly-Q2014-04-151-5/+4
| | | | fetch remote pieces of media in the batchupload script
* Fixed incorrectly coded references to filesystem pathstilly-Q2014-04-111-7/+3
|
* Fixed a bad get of 'dcterms:rights' and am throwing away the idea of an externaltilly-Q2014-04-031-10/+11
| | | | | context file for the json-ld because it feels unnecessary seeing as we are just using the dc core terms
* Wrote more comprehensive error messages.tilly-Q2014-03-271-7/+21
|
* Fixed a minor error in the batch upload script and modified the json-ld context.tilly-Q2014-03-271-4/+5
|
* Fixed up some fatal errors. Is still not ready.tilly-Q2014-03-271-22/+24
|
* Added exception handling into the metadata format checking function.tilly-Q2014-03-271-2/+18
|
* Began work on metadata validationtilly-Q2014-03-271-0/+33
|
* Changed some of the print messages as well as tweaked the order oftilly-Q2014-03-231-13/+17
| | | | | the commands attempts to figure out what type of file the target file is.
* I made it so the command no longer requires the "Target type" to be provided,tilly-Q2014-03-231-22/+33
| | | | | | | | | | | it now recognizes whether the target is a directory or an archive on its own. I added in a help message, which is still incomplete, but should make it easier for admins to know how to use this new command. I believe we should also provi- -de an example of the location.csv and metadata.csv files, so there is no conf- -usion. Also, I made it possible for the command to recognize zip files as a valid archive. I also made some minor changes to the commands description w/i the larger gmg command help menu.
* Minor change in the wording of argparsing.tilly-Q2014-03-231-2/+2
|
* The script now officially works! It works in many different situations, whethertilly-Q2014-03-231-19/+111
| | | | | | | | the media is to be uploaded is stored locally or on the web. Still have to clean up the code and look for errors. I may also refactor some of this into a functi- on to be used with a GUI frontend in another project. Lastly, I need to merge this with the metadata branch I've been working on, and convert the metadata.csv information into the proper format for the new metadata column.
* This branch will create a commandline bulk-upload script. So far, I have writtentilly-Q2014-03-231-0/+110
the code to read csv files into a usable dictionary.