Skip to content

Commit ba368c2

Browse files
committed
2 parents 2f28b71 + 7448c7f commit ba368c2

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
![MoveIt](moveit.png)
44

5+
This is MoveIt, a tool for building bag packages from files and folders on your desktop for transfer to repositories! The metadata fields entered into this app will be written into the bag's `bag-info.txt`. Right now, the compiled versions listed under the releases tab are customized for Simon Fraser University (as is one documentation link built into the app), but it's very easy to customize for your local context if you want.
6+
7+
User properties (those before the "jump" halfway down the app window) are automatically saved between runs and repopulated; bag-specific properties are not. Uses the Library of Congress' Python bagit library.
8+
59
## Development
610
```
711
$ pip install -r requirements.txt --user

gui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sfu-moveit",
3-
"version": "2.0.1",
3+
"version": "2.0.4",
44
"homepage": "https://github.com/axfelix/moveit",
55
"main": "main.js",
66
"description": "An app for producing packages for deposit to the Archives",

moveit.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ def bag_package(self, contactname, jobtitle, department, email, phone, creator,
2121
os.makedirs(bag_dir)
2222
copy_tree(os.path.normpath(package_folder.strip('"')), bag_dir)
2323

24+
for root, sub, files in os.walk(bag_dir):
25+
for file in files:
26+
if file == ".DS_Store":
27+
os.remove(os.path.abspath(os.path.join(root, file)))
28+
2429
try:
2530
with open("package.json", "r") as package_json:
2631
version = json.load(package_json)['version']

0 commit comments

Comments
 (0)