• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

curationexperts / epigaea
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: turbolinks-batch-fix
DEFAULT BRANCH: master
Repo Added 16 Nov 2017 02:21AM UTC
Files 176
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH import-file-upload
branch: import-file-upload
CHANGE BRANCH
x
Reset
  • import-file-upload
  • add-coveralls-badge
  • add-purge-remove-review-buttons
  • add_collection_to_sample_file
  • admin_sets_breaking
  • advanced-search/feature-spec
  • advanced-search/field-suffix
  • af-base-wo-id
  • analytics
  • application-actor
  • batch-edit-spec
  • batch-index
  • batch-optionals
  • batch-search
  • batch_email_user
  • batch_import_testing
  • batch_user_creation
  • better-readme
  • bugfix/adding_work_to_collection
  • bugfix/attach_work_to_collection
  • bugfix/blank_display_name
  • bugfix/ignore_date_created
  • catch_object_not_found
  • check_for_well_formed_xml
  • clean-db-metadata-import
  • clean_up_specs
  • cleaner-dot-env
  • collection-export
  • collection-on-import
  • collection-re-import
  • complex-batch-import
  • config_mailer
  • contribute_specs
  • createdby_multiple
  • css-collections-table
  • css-metadata-import
  • de-dupe_feature_tests
  • default_admin_set_stats
  • default_mail
  • delete_spec
  • dependency-update
  • disable_travis_emails
  • do_not_send_email_in_dev_env
  • docs
  • draftable-specs
  • empty_rights_statement
  • enable_video_derivatives
  • ensure-nil-for-singular
  • feature-defaults
  • feature/ajax-pagination-for-batches
  • feature/check_for_valid_id
  • feature/collection_ead_field
  • feature/collection_seeds
  • feature/ldap
  • feature/ldap-email
  • feature/load_workflow_on_deploy
  • feature/modified-uploaded-show
  • feature/normalize-import-fields
  • feature/notifications_refactored
  • feature/only_one_id_on_batch_update
  • feature/revert-drafts-button
  • feature/suppress_individual_notifications
  • feature/technical-metadata
  • file-type
  • filter-selfdeposit
  • finish-transcript-front-end-features
  • fits_not_found
  • fix-help-keyword-warning
  • fix-ignore-date-uploaded
  • fix-show
  • fix/add-creator-term
  • fix/admin-non-admin-routes
  • fix/advanced-search-date-created
  • fix/advanced-search-results
  • fix/batch-create-forms
  • fix/batch-edit-spec
  • fix/batch-edit-spec-
  • fix/collections-pages
  • fix/delete-draft-with-contoller
  • fix/embargo_note
  • fix/env_defaults
  • fix/file_upload_limit
  • fix/gis_poster_description
  • fix/handle-admin-set-predicate
  • fix/potral-portal
  • fix/remove-tufts-filename-from-tech-metadata
  • fix/repopulate-fields-on-form
  • fix/right-statement-param
  • fix/rights-statement-forms-transcript
  • fix/rights-statement-scalar-multivalue
  • fix/rights-twice-on-form
  • fix/search-constraints
  • fix/self-deposit
  • fix/show-view
  • fix/sidekiq-link
  • fix/technical-metadata
  • fix/technical-metadata-formatting
  • fix/unpublished-visibility-in-collection
  • fix/upload_limit
  • fix/uploaded-fade-in
  • fix_held_by_facet
  • fix_intermittent_fail
  • fix_predicates
  • fixup-xml-import-enqueue
  • handle-config
  • handle-dl
  • handle-dot-env
  • handle-url
  • ignore-coverage
  • inherit-behaviors
  • inter-fail
  • inverse_association
  • investigate_failed_spec
  • issue-813
  • key-not-found
  • ldap-wip
  • mail_setup
  • mark-dce-patch-1
  • mark_dirty
  • master
  • metadata_table
  • multi-file-import
  • no-creator
  • okcomputer
  • order_desc
  • ordered_creator
  • ordered_export
  • recent_export_spec
  • redis-store-update
  • refactor/batch-edit-spec
  • refactor/rep-and-thumbnail-assignment
  • register_ead_field
  • register_handle_upon_publication
  • reinstate_test
  • remove_pending
  • require_display_in
  • required_fields
  • restart_on_cap_deploy
  • restrict_sample_data_to_dev
  • revert-677-fix/batch-create-forms
  • sample-xml-5-records
  • sample-xml-files
  • sample_data_rake_task
  • sample_import_file
  • sample_input_file
  • sample_meta_file
  • search/by-batch
  • security_updates
  • self-deposit/abstract
  • self-deposit/refactor-abstract
  • self_dep_note_spec
  • session-store-flash
  • setup-models
  • sidekiq_link
  • sign-out
  • spec/drafts-editable-coverage
  • spec/editable
  • spec/make-xml-import-presenter-status-optional
  • spec/mark-assigns-template-as-optional
  • spec/mark-draft-saved-as-optional
  • spec/mark-flappy-specs-as-optional-on-travis
  • spec/mark-import_object-as-optional
  • spec/mark-xml-import-presenter-spec-as-optional
  • spec/optional-for-publish-unpublish
  • spec/refactor-user-roles-in-factories
  • statistics
  • story_861
  • style/add-metadata-button
  • style/remove-blank-wells
  • submission-date
  • template-upload_fade_in
  • template_notifications
  • template_spec
  • thumbnail-sample-xml-file
  • ticket_649
  • ticket_668
  • ticket_753
  • trailing-whitespace
  • turbolinks-batch-fix
  • unauthenticated_users_redirect
  • update_docs
  • update_fixture
  • update_member_of_queries
  • update_missing_attributes
  • upgrade/hyrax-2.0.0
  • upload-fade-in
  • use-models
  • use-models-rc2
  • user-name
  • v2017.12.07.beta
  • v2017.12.13.beta
  • v2017.12.21.beta
  • v4.0.0-rc3
  • v4.0.0-rc4
  • v4.0.0-rc5
  • v4.0.0-rc6
  • v4.0.0-rc7
  • v4.0.0-rc8
  • v4.0.0-rc9
  • v4.0.0rc1
  • v4.0.0rc2
  • validate_collections_exist
  • view/deposit-types-non-auth
  • views/add-controls-to-batches
  • visibility-round
  • whitespace-deposit
  • xml-import-failures
  • xml-import-no-requeue

pending completion
2024

push

travis-ci

no-reply
Generate unique filenames for imported metadata files

When uploading a metadata file, we had previously been using the original
filename to identify the uploaded content. The users were frequently uploading
content with the same filenames, and the resulting name collisions caused
overwrites. This generates UUIDs for each uploaded metadata file.

Initially, the UUID token for filename is stored on a model variable to avoid
generating the filename repeatedly. We don't need to store it longer than this,
because the generated filename is stored on the model's `#metadata_file` field
once the upload is complete; `Uploader#original_filename` and `#filename` are
`nil` after reloads.

Closes #682.

2356 of 2626 relevant lines covered (89.72%)

69.71 hits per line

Relevant lines Covered
Build:
Build:
2626 RELEVANT LINES 2356 COVERED LINES
69.71 HITS PER LINE
Source Files on import-file-upload
  • List 0
  • Changed 23
  • Source Changed 1
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2024 import-file-upload Generate unique filenames for imported metadata files When uploading a metadata file, we had previously been using the original filename to identify the uploaded content. The users were frequently uploading content with the same filenames, and th... push 12 Dec 2017 09:37PM UTC no-reply travis-ci pending completion  
1991 import-file-upload Generate unique filenames for imported metadata files When uploading a metadata file, we had previously been using the original filename to identify the uploaded content. The users were frequently uploading content with the same filenames, and th... push 12 Dec 2017 07:05PM UTC no-reply travis-ci pending completion  
See All Builds (980)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc