rockefellerarchivecenter / as_export Goto Github PK
View Code? Open in Web Editor NEWExports EAD, PDF and METS from updated resource records and digital objects in ArchivesSpace
License: MIT License
Exports EAD, PDF and METS from updated resource records and digital objects in ArchivesSpace
License: MIT License
Once we launch DIMES-TNG, we don't need PDFs any more. This functionality should be removed from the script, along with supporting dependencies.
id()
is reserved in Python for the identity function; see http://stackoverflow.com/questions/77552/id-is-a-bad-variable-name-in-python
from @thatandromeda and @pobocks
add destinations, other sections
thanks @marktriggs
The tree.walk
method uses the deprecated tree
endpoint. The application should be future-proofed by using the utils.walk_tree
method instead.
Traceback (most recent call last):
File "/home/harnold/asExportIncremental.py", line 391, in <module>
logout()
File "/home/harnold/asExportIncremental.py", line 88, in logout
requests.post('{baseURL}/logout'.format(**dictionary), headers=headers)
NameError: global name 'headers' is not defined
Suspect the user is never logging into AS; hence they don't need to log out.
In alignments with efforts to reduce harmful and oppressive language in all aspects of the RAC's work, the default branch on this repository should be renamed from master
to base
.
git branch -m master base
git push -u origin base
Local clones can update refs as follows:
$ git checkout master
$ git branch -m master base
$ git fetch
$ git branch --unset-upstream
$ git branch -u origin/base
$ git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/base
from @thatandromeda
Or pass the variable from parent function?
from @thatandromeda
This application has no unit tests. Add them!
from @thatandromeda
e.g. either as JSON or using ConfigParser
syntax
Currently, files are saved to a subdirectory with an identifier name. This was done because that's the structure XTF expects. However, now that we are no longer indexing things in XTF we don't need those intermediate directories anymore. Let's get rid of them to simplify things.
The similarity of naming across methods like handleResource()
, handleDigitalObject()
, etc. is a little confusing; they're important differences. Maybe name them by their intended result?
Log level is currently set to warning, even though info would be more appropriate, to avoid the multiple New HTTP Request
lines logged by request module.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.