History log of /ontohub/app/models/repository/importing.rb
Revision Date Author Comments Expand
97669a2ab79fef55a04bd6f0e51267e5119ddab7 08-Aug-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

1753 wait for sql to finish before parsing worker retry (#1761) * Remove callback for parsing a version on create. * Handle do_not_parse flag properly * Remove the sleep command. * Refactor: Put state change into a method. * Fix specs. * Only assign the distributed logic once. * Only clone asynchronously after the transaction completed. * Fix specs that clone a repository. * Remove do_not_parse flag and replace it by a do_parse flag where needed. * Obey Hound as much as possible. * Fix parsing ontologies in the seeds.

56f97c5af9f86663f034049274ae16642c5ba4df 17-Jan-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Refactor AsyncHelper: Restructure SidetiqWorker to RepositoyPullingWorker.

c975e932187f329ac00049d8fd7cc796633f9e92 17-Jan-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Refactor AsyncHelper: Add RepositoyFetchingWorker.

79c84e7439066dd27ecbdab0ecd1379141d7ad1b 17-Jan-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Fix validation not executing for a fork.

006de713cc0c62dc3dd8549f4d74c00e8b822dd2 11-Jan-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Move ontology saving code into separate service class.

42e40cfc68df4ff740d8bf91e6fbd24736e37a60 19-May-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Define own walk order.

6370334d0670bd95d0685a2f5ab9b85ade15f68b 04-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Use proper code style.

54df3ee204cac2763de267b1b3de745c908c20b5 04-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Only detect source type if address is given.

9cf8faa1b542ef72c0fc7438b3bc5d9f0905d5c5 03-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Move repository scopes into appropriate concern.

762e5bc50543ad7e95c8a40b9525a4682c0f1782 03-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Move repository validations into appropriate concern.

51da3d91f66d9b359075e91acf63b46b7c13b604 28-Jan-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

code style improvements according to hound

8f845e804ef24c045876941e34930a9ac6720dbf 28-Jan-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add remote_type attribute to Repository

63690d8280c5282c6bd057da5330a6ae8859af35 28-Jan-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

remember the source address after unmirroring

d94a4d9e48f0ca6d52f1bb7ed7860dbcadbd90d6 28-Jan-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

code style: reduce method length

15d71c4bbc193dd0707f3d754a4de7ccb4f2ba5f 28-Jan-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add default value to new argument

24f26e98c12accc5abe3bb408285aa99b6077176 28-Jan-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

allow for forks to be created

a50078708898ad68d1bc09da5c9fe91a15271323 28-Jan-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add view for creating forks

396ba4b002168a7a3dca4f05ac79266b8f26a172 28-Jan-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

fix convert_to_local! method: set correct variable

fda87b00b3f144f81547c33512cd397f211b5bba 24-Sep-2014 Sascha Graef <sgraef@informatik.uni-bremen.de>

using state model in all previous places

1d30f949f910951ed77a466a5267ae3069df8410 24-Jul-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

rename method remote? to mirror?

ee5342a8882c2fc7631fcffb5497e6597747887c 10-May-2014 Tim Reddehase <robustus@rightsrestricted.com>

fix whitespace issues Includes fixes for the following whitespace-related issues: - Trailing whitespace at end of line - Tabs in file - No newline at end of file This commit fixes these issues for .rb, .coffee, and .sass files.

/ontohub/app/assets/javascripts/bulkupload.js.coffee /ontohub/app/assets/javascripts/flash.js.coffee /ontohub/app/assets/javascripts/highlight_anchor.js.coffee /ontohub/app/assets/javascripts/oops.js.coffee /ontohub/app/assets/javascripts/plugins/relationList.js.coffee /ontohub/app/assets/javascripts/plugins/remoteCollection.js.coffee /ontohub/app/assets/javascripts/statusUpdates.js.coffee /ontohub/app/assets/javascripts/tooltips.js.coffee /ontohub/app/assets/stylesheets/actions.css.sass /ontohub/app/assets/stylesheets/aside.css.sass /ontohub/app/assets/stylesheets/axioms.css.sass /ontohub/app/assets/stylesheets/bulkupload.css.sass /ontohub/app/assets/stylesheets/comments.css.sass /ontohub/app/assets/stylesheets/data_type.css.sass /ontohub/app/assets/stylesheets/entities.css.sass /ontohub/app/assets/stylesheets/formats.sass /ontohub/app/assets/stylesheets/latest.css.sass /ontohub/app/assets/stylesheets/oops-responses.css.sass /ontohub/app/assets/stylesheets/pagination.sass /ontohub/app/assets/stylesheets/quicksearch.css.sass /ontohub/app/assets/stylesheets/relationList.css.sass /ontohub/app/assets/stylesheets/repository.css.sass /ontohub/app/assets/stylesheets/search_result.css.sass /ontohub/app/assets/stylesheets/section.css.sass /ontohub/app/assets/stylesheets/sentences.css.sass /ontohub/app/controllers/adjoints_controller.rb /ontohub/app/controllers/admin/teams_controller.rb /ontohub/app/controllers/admin/users_controller.rb /ontohub/app/controllers/api/v1/base.rb /ontohub/app/controllers/api/v1/categories_controller.rb /ontohub/app/controllers/api/v1/ontologies_controller.rb /ontohub/app/controllers/api/v1/repositories_controller.rb /ontohub/app/controllers/application_controller.rb /ontohub/app/controllers/autocomplete_controller.rb /ontohub/app/controllers/children_controller.rb /ontohub/app/controllers/commit_references_controller.rb /ontohub/app/controllers/entities_search_controller.rb /ontohub/app/controllers/errors_controller.rb /ontohub/app/controllers/home_controller.rb /ontohub/app/controllers/keys_controller.rb /ontohub/app/controllers/language_adjoints_controller.rb /ontohub/app/controllers/language_mappings_controller.rb /ontohub/app/controllers/languages_controller.rb /ontohub/app/controllers/links_controller.rb /ontohub/app/controllers/logic_adjoints_controller.rb /ontohub/app/controllers/logic_mappings_controller.rb /ontohub/app/controllers/logics_controller.rb /ontohub/app/controllers/mappings_controller.rb /ontohub/app/controllers/metadata_controller.rb /ontohub/app/controllers/ontologies_controller.rb /ontohub/app/controllers/ontology_search_controller.rb /ontohub/app/controllers/ontology_version_member.rb /ontohub/app/controllers/ontology_versions_controller.rb /ontohub/app/controllers/oops_requests_controller.rb /ontohub/app/controllers/path_helpers.rb /ontohub/app/controllers/permissions_controller.rb /ontohub/app/controllers/polymorphic_resource/base.rb /ontohub/app/controllers/privilege_list/base.rb /ontohub/app/controllers/repository_settings_controller.rb /ontohub/app/controllers/sentences_controller.rb /ontohub/app/controllers/supports_controller.rb /ontohub/app/controllers/team_users_controller.rb /ontohub/app/controllers/teams/permissions_controller.rb /ontohub/app/controllers/teams_controller.rb /ontohub/app/controllers/users/confirmations_controller.rb /ontohub/app/controllers/users/registrations_controller.rb /ontohub/app/controllers/users_controller.rb /ontohub/app/helpers/application_helper.rb /ontohub/app/helpers/comments_helper.rb /ontohub/app/helpers/entity_helper.rb /ontohub/app/helpers/flash_helper.rb /ontohub/app/helpers/link_helper.rb /ontohub/app/helpers/navigation_helper.rb /ontohub/app/helpers/ontology_helper.rb /ontohub/app/helpers/oops_helper.rb /ontohub/app/helpers/pagination_helper.rb /ontohub/app/helpers/permission_helper.rb /ontohub/app/helpers/search_helper.rb /ontohub/app/helpers/tag_helper.rb /ontohub/app/helpers/timestamp_helper.rb /ontohub/app/helpers/title_helper.rb /ontohub/app/models/ability.rb /ontohub/app/models/comment.rb /ontohub/app/models/e_edge.rb /ontohub/app/models/entity.rb /ontohub/app/models/entity/readability.rb /ontohub/app/models/entity/searching.rb /ontohub/app/models/entity_group.rb /ontohub/app/models/key.rb /ontohub/app/models/key/fingerprint.rb /ontohub/app/models/language.rb /ontohub/app/models/language_mapping.rb /ontohub/app/models/link.rb /ontohub/app/models/link_version.rb /ontohub/app/models/logic.rb /ontohub/app/models/logic_mapping.rb /ontohub/app/models/metadatum.rb /ontohub/app/models/ontology/categories.rb /ontohub/app/models/ontology/entities.rb /ontohub/app/models/ontology/import.rb /ontohub/app/models/ontology/links.rb /ontohub/app/models/ontology/oops.rb /ontohub/app/models/ontology/versions.rb /ontohub/app/models/ontology_version.rb /ontohub/app/models/ontology_version/files.rb /ontohub/app/models/ontology_version/numbers.rb /ontohub/app/models/ontology_version/oops_requests.rb /ontohub/app/models/ontology_version/parsing.rb /ontohub/app/models/ontology_version/states.rb /ontohub/app/models/oops_request.rb /ontohub/app/models/oops_request/responses.rb /ontohub/app/models/oops_request/states.rb /ontohub/app/models/oops_response.rb /ontohub/app/models/permission.rb access.rb file_not_found_error.rb files_list.rb import_error.rb importing.rb symlink.rb validations.rb /ontohub/app/models/resource.rb /ontohub/app/models/sentence/readability.rb /ontohub/app/models/serialization.rb /ontohub/app/models/simple_ontology.rb /ontohub/app/models/support.rb /ontohub/app/models/team.rb /ontohub/app/models/team_user.rb /ontohub/app/models/user.rb /ontohub/app/models/user/authentication.rb /ontohub/config/god/app.rb /ontohub/config/god/sidekiq_workers.rb /ontohub/config/initializers/active_record_base.rb /ontohub/config/initializers/async_helper.rb /ontohub/config/initializers/rabl_init.rb /ontohub/config/routes.rb /ontohub/db/migrate/20120307143552_create_ontologies.rb /ontohub/db/migrate/20120307163615_create_links.rb /ontohub/db/migrate/20120308144854_create_teams.rb /ontohub/db/migrate/20120308144855_create_team_users.rb /ontohub/db/migrate/20120308144859_create_permissions.rb /ontohub/db/migrate/20120313131338_create_comments.rb /ontohub/db/migrate/20120416190216_create_serializations.rb /ontohub/db/migrate/20120416191514_create_link_versions.rb /ontohub/db/migrate/20120424155606_create_logic_mappings.rb /ontohub/db/migrate/20120424155621_create_language_mappings.rb /ontohub/db/migrate/20120424162211_create_language_adjoints.rb /ontohub/db/migrate/20120424162227_create_logic_adjoints.rb /ontohub/db/migrate/20120511162259_create_basic_proofs.rb /ontohub/db/migrate/20120511162609_create_structured_proof_parts.rb /ontohub/db/migrate/20120511162723_create_used_sentences.rb /ontohub/db/migrate/20130422184444_create_c_vertices_table.rb /ontohub/db/migrate/20130516165857_add_ontolgies_count_to_logics.rb /ontohub/db/migrate/20130730100410_remove_link_version_from_entity_mapping.rb /ontohub/db/migrate/20130826115853_create_ontology_type.rb /ontohub/db/migrate/20130924161345_add_license_models_to_ontologies.rb /ontohub/db/migrate/20130924224533_add_formality_levels_to_ontologies.rb /ontohub/db/migrate/20131108101521_rename_c_vertices_to_categories.rb /ontohub/db/migrate/20131108103128_rename_c_vertices_ontology_table_to_categories_ontology_table.rb /ontohub/db/migrate/20131206114523_rename_license_model_ontology_table_to_license_models_ontologies_table.rb /ontohub/db/migrate/20140329102152_create_entity_groups.rb /ontohub/db/migrate/20140329162713_remove_cycle_checker_from_e_edges.rb /ontohub/db/migrate/20140409093111_add_constratints_and_indices_to_entity_groups.rb /ontohub/db/migrate/20140508073115_remove_all_eedges_and_generate_tarjan_trees.rb /ontohub/db/seeds/010-users_and_teams.rb /ontohub/lib/autocomplete.rb /ontohub/lib/git_repository.rb /ontohub/lib/git_repository/cloning.rb /ontohub/lib/git_repository/commit.rb /ontohub/lib/git_repository/config.rb /ontohub/lib/git_repository/get_info_list.rb /ontohub/lib/git_repository/url_not_found_error.rb /ontohub/lib/hets.rb /ontohub/lib/language_population.rb /ontohub/lib/logic_mapping_population.rb /ontohub/lib/logic_population.rb /ontohub/lib/logicgraph_parser.rb /ontohub/lib/ontology_search.rb /ontohub/lib/oops.rb /ontohub/lib/oops/client.rb /ontohub/lib/oops/response.rb /ontohub/lib/pagination.rb /ontohub/lib/permissionable.rb /ontohub/lib/relation_list.rb /ontohub/lib/scope_builder.rb /ontohub/lib/sidetiq_worker.rb /ontohub/lib/state_updater.rb /ontohub/lib/tarjan_tree.rb /ontohub/lib/worker.rb /ontohub/spec/controllers/api/v1/ontologies_controller_spec.rb /ontohub/spec/controllers/api/v1/repositories_controller_spec.rb /ontohub/spec/controllers/comments_controller_spec.rb /ontohub/spec/controllers/keys_controller_spec.rb /ontohub/spec/controllers/repository_settings_controller_spec.rb /ontohub/spec/lib/repository/import/git_spec.rb /ontohub/spec/lib/repository/import/svn_spec.rb /ontohub/spec/lib/tarjan_spec.rb /ontohub/spec/models/ability_spec.rb /ontohub/spec/models/entity_group_spec.rb /ontohub/spec/models/key_spec.rb /ontohub/spec/models/project.rb /ontohub/spec/models/url_map_spec.rb /ontohub/spec/routing/files_routing_spec.rb /ontohub/spec/support/config/sunspot.rb /ontohub/test/factories/adjoint.rb /ontohub/test/factories/c_edge.rb /ontohub/test/factories/entity.rb /ontohub/test/factories/entity_group.rb /ontohub/test/factories/logic.rb /ontohub/test/factories/mapping.rb /ontohub/test/factories/ontology_version.rb /ontohub/test/factories/oops.rb /ontohub/test/factories/sentence.rb /ontohub/test/factories/serialization.rb /ontohub/test/factories/user.rb /ontohub/test/functional/admin/teams_controller_test.rb /ontohub/test/functional/admin/users_controller_test.rb /ontohub/test/functional/autocomplete_controller_test.rb /ontohub/test/functional/entities_controller_test.rb /ontohub/test/functional/entities_search_controller_test.rb /ontohub/test/functional/home_controller_test.rb /ontohub/test/functional/language_adjoint_controller_test.rb /ontohub/test/functional/language_controller_test.rb /ontohub/test/functional/language_mapping_controller_test.rb /ontohub/test/functional/logic_adjoint_controller_test.rb /ontohub/test/functional/logic_controller_test.rb /ontohub/test/functional/logic_mapping_controller_test.rb /ontohub/test/functional/ontologies_controller_test.rb /ontohub/test/functional/ontology_versions_controller_test.rb /ontohub/test/functional/oops_request_controller_test.rb /ontohub/test/functional/permissions_controller_test.rb /ontohub/test/functional/repositories_controller_test.rb /ontohub/test/functional/sentences_controller_test.rb /ontohub/test/functional/serializations_controller_test.rb /ontohub/test/functional/team_users_controller_test.rb /ontohub/test/functional/teams/permissions_controller_test.rb /ontohub/test/functional/teams_controller_test.rb /ontohub/test/functional/users_controller_test.rb /ontohub/test/integration/comments_test.rb /ontohub/test/integration/entity_display_test.rb /ontohub/test/integration/ontology_state.rb /ontohub/test/integration/permissions_test.rb /ontohub/test/integration/session_test.rb /ontohub/test/integration/visit_ontology_test.rb /ontohub/test/integration_test_helper.rb /ontohub/test/shared_helper.rb /ontohub/test/test_helper.rb /ontohub/test/unit/autocomplete_test.rb /ontohub/test/unit/category_test.rb /ontohub/test/unit/distributed_ontology_test.rb /ontohub/test/unit/entity_test.rb /ontohub/test/unit/formality_level_test.rb /ontohub/test/unit/language_population_test.rb /ontohub/test/unit/license_model_test.rb /ontohub/test/unit/logic_population_test.rb /ontohub/test/unit/logic_test.rb /ontohub/test/unit/logicgraph_parser/stub_test.rb /ontohub/test/unit/logicgraph_parser_test.rb /ontohub/test/unit/ontology_import_xml_test.rb /ontohub/test/unit/ontology_parser/distributed_test.rb /ontohub/test/unit/ontology_parser/single_test.rb /ontohub/test/unit/ontology_parser_test.rb /ontohub/test/unit/ontology_search_test.rb /ontohub/test/unit/ontology_test.rb /ontohub/test/unit/ontology_type_test.rb /ontohub/test/unit/ontology_version_test.rb /ontohub/test/unit/oops_request/responses_test.rb /ontohub/test/unit/oops_request/states_test.rb /ontohub/test/unit/oops_request_test.rb /ontohub/test/unit/oops_test.rb /ontohub/test/unit/permission_test.rb /ontohub/test/unit/repository_test.rb /ontohub/test/unit/sentence_test.rb /ontohub/test/unit/task_test.rb /ontohub/test/unit/team_test.rb /ontohub/test/unit/team_user_test.rb /ontohub/test/unit/tool_test.rb /ontohub/test/unit/triple_store_test.rb /ontohub/test/unit/user_test.rb
e81334464ee46b772442343c2f871ea82d4a3c82 25-Apr-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add default access on creation of mirrors

5ddd457a4e278410e58386a2333f5853f2f2ea8f 24-Apr-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

split access to private_r and private_rw

08070fff5598f6d5d7662e321becf59f18d00176 18-Mar-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add raketask for importing some repositories

5ad775859282bb9988faac1bcdbb72ab1012a1bd 24-Jan-2014 Julian Kornberger <juliank@tzi.de>

Pulling from remote repositories is more efficient now. solves #598

39d0ed9f8e3c74205b66e86abcf317c6a56900cc 20-Nov-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

make repository detect repository type automatically

5379e11f2c6c49c6df4872d6a55f2ff390969e66 27-Oct-2013 Julian Kornberger <juliank@tzi.de>

Periodic updating of remote repositories implemented.

b66a6512eb6dea6cf5339eaa857a81d1b89cb4de 27-Oct-2013 Julian Kornberger <juliank@tzi.de>

Refactoring of the clone configuration. 'mirror = true' added to overwrite all local refs.

7b1e12286a360e4bfd9b54f97c2ad1d1a561c77d 27-Oct-2013 Julian Kornberger <juliank@tzi.de>

Save and display timestamp of last successful synchronisation.

282f31b2b7ad4ca69287402d6d3a91a280bcb15e 26-Oct-2013 Julian Kornberger <juliank@tzi.de>

Allow user_id in ontology_versions to be NULL.

93ff918a7a1656d812f27a767a976ea33da0921f 25-Oct-2013 Julian Kornberger <juliank@tzi.de>

Refactoring of git/svn import finished. Now the import works without a working copy.

89575ed6ea1f9c9058164005c0c8a64e8aeae3a4 25-Oct-2013 Julian Kornberger <juliank@tzi.de>

Refactoring of git synchronization

3be6bb08469f9188b2ef8a97b499d5e6254cac11 22-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

failed attempt to fix #301 The RemoteRepository needs the user for saving ontologies, however it does't exist.

9d28c5cb6f8345b147a482bea3e127326277547e 15-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add usage comment

816bf6f8088b162b681101d93fd450127a0e586f 12-Oct-2013 Julian Kornberger <juliank@tzi.de>

Migrated from resque to sidekiq Sidekiq has some great features and offers multithreading.

/ontohub/Gemfile /ontohub/Gemfile.lock /ontohub/README.md /ontohub/app/models/ontology_version/parsing.rb /ontohub/app/models/oops_request.rb /ontohub/app/models/oops_request/states.rb importing.rb /ontohub/app/views/admin/jobs/index.html.haml /ontohub/bin/god /ontohub/bin/sidekiq /ontohub/bin/sidekiqctl /ontohub/config/god/app.rb /ontohub/config/god/sidekiq_workers.rb /ontohub/config/initializers/async_helper.rb /ontohub/config/initializers/resque_helper.rb /ontohub/config/initializers/sidekiq.rb /ontohub/config/routes.rb /ontohub/db/seeds.rb /ontohub/lib/tasks/resque.rake /ontohub/lib/worker.rb /ontohub/script/start-development /ontohub/spec/support/config/sidekiq.rb /ontohub/test/functional/ontology_versions_controller_test.rb /ontohub/test/test_helper.rb /ontohub/test/unit/ontology_version_test.rb /ontohub/test/unit/repository_test.rb
a9a0428a54199be3b810a0871c947383c2f916d3 12-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

save ontologies of newest version when importing and synchronizing

5422b48ab5841a2909cd9e53905dae4cd8418f0a 08-Oct-2013 Julian Kornberger <juliank@tzi.de>

Refactoring of repository imports