12 Commits

Author SHA1 Message Date
tilly-Q
6fa9b06f9a Fixed incorrectly coded references to filesystem paths 2014-04-11 13:06:09 -04:00
tilly-Q
8e33666813 Fixed a bad get of 'dcterms:rights' and am throwing away the idea of an external
context file for the json-ld because it feels unnecessary seeing as we are just
using the dc core terms
2014-04-03 12:18:17 -04:00
tilly-Q
0e4144abaf Wrote more comprehensive error messages. 2014-03-27 17:29:34 -04:00
tilly-Q
32aec1e533 Fixed a minor error in the batch upload script and modified the json-ld context. 2014-03-27 17:10:31 -04:00
tilly-Q
8f054a6b99 Fixed up some fatal errors. Is still not ready. 2014-03-27 14:12:50 -04:00
tilly-Q
680faaaa85 Added exception handling into the metadata format checking function. 2014-03-27 13:55:15 -04:00
tilly-Q
6b43a6f432 Began work on metadata validation 2014-03-27 13:31:04 -04:00
tilly-Q
9d4e9de76b Changed some of the print messages as well as tweaked the order of
the commands attempts to figure out what type of file the target file
is.
2014-03-23 16:40:51 -04:00
tilly-Q
579a6b574f I made it so the command no longer requires the "Target type" to be provided,
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.
2014-03-23 16:40:50 -04:00
tilly-Q
27b7d94896 Minor change in the wording of argparsing. 2014-03-23 16:40:50 -04:00
tilly-Q
714c4cb7d7 The script now officially works! It works in many different situations, whether
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.
2014-03-23 16:40:50 -04:00
tilly-Q
3214aeb238 This branch will create a commandline bulk-upload script. So far, I have written
the code to read csv files into a usable dictionary.
2014-03-23 16:40:50 -04:00