Git Product home page Git Product logo

moveit's Introduction

SFU Archives Deposit -- "MoveIt" Tool

This is a simple utility, forked from http://github.com/mjordan/createbag, which facilitates deposit of files and folders to SFU Archives by creating a Library of Congress-standard "bagit" container on the local machine.

An earlier version of this tool also provided transfer functionality which is not currently supported, but the tool can be built to perform transfers by editing createbag.py.

You're welcome to use this in your own institution; all that's required is changing the hardcoded references to SFU and the IP addresses of the upload destinations at various locations in createbag.py. If you want to hack on this, you need Python 2.7 and the official bagit module.

The tool is designed to work, with GUI functionality, on Windows, OSX, and Linux. The Windows version uses Qt, the OSX version uses CocoaDialog, and the Linux version uses Gtk3 (though it is currently unmaintained and missing a few hooks).

blacklist.py and deposit_monitor.py can be run on the deposit server to provide some simple monitoring functionality.

GUI executables are provided for Windows and OSX, built with pyinstaller and Platypus respectively. Pyinstaller syntax to build is pyinstaller --onefile --noconsole --icon=sfu.ico createbag.py. Platypus bundles are built with osxinstall.sh as the primary executable, with CocoaDialog.app, CreateBag.workflow, and the createbag binary output from pyinstaller as bundled files. The Windows executable runs standalone; the OSX version is installed as an automator hook, detailed below.

Usage

Windows

Download the utility from [http://www.sfu.ca/~garnett/archivesdeposit/SFU%20MoveIt.exe]. When the utility starts, a small window with two buttons appears. One of them is "Exit". Clicking on "Choose a folder to transfer" will open up a standard file/directory browser.

Choosing a directory and clicking on "Create Bag" will prompt a user for a small amount of metadata (username and deposit number), and then automatically create a bag and place it on your desktop. The user will be notified of success or failure with a popup window upon completion.

OSX

Download and run the zipped OSX installer from [http://www.sfu.ca/~garnett/archivesdeposit/Install%20SFU%20MoveIt.zip]. You can then create and transfer bag using this script by right-clicking on any folder in your Finder and selecting "Deposit to SFU Archives" from the context menu.

License

The Unlicense (http://unlicense.org/). Refer to the LICENSE file for more information.

moveit's People

Contributors

axfelix avatar

Watchers

 avatar James Cloos avatar Sharon Hanna avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.