-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ui-config-changes-for-dv-2003'
- Loading branch information
Showing
9 changed files
with
121 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
21 changes: 0 additions & 21 deletions
21
roles/dataverse/files/ui-customization/dv-4.6/Bundle.properties.patch
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
roles/dataverse/files/ui-customization/dv-4.6/dataverse_header.xhtml.patch
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
roles/dataverse/files/ui-customization/dv-4.6/dataverse_template.xhtml.patch
This file was deleted.
Oops, something went wrong.
72 changes: 0 additions & 72 deletions
72
roles/dataverse/files/ui-customization/dv-4.6/instance_header.xhtml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# -*- mode: yaml -*- | ||
# vi: set ft=yaml : | ||
|
||
--- | ||
|
||
############################################################################### | ||
# These tasks are needed until such time as these/similar customizations | ||
# make it into a Dataverse release. | ||
############################################################################### | ||
|
||
- name: set some base directories for UI overrides | ||
set_fact: | ||
dv_repo_dir: "/tmp/dataverse/repo" | ||
dv_repo_webapp_dir: "src/main/webapp" | ||
|
||
- name: (TEMPORARY) clone the dataverse repository with UI changes to overwrite distro | ||
git: | ||
repo: "{{ dv_ui_repo.url }}" | ||
dest: "{{ dv_repo_dir }}" | ||
version: "{{ dv_ui_repo.branch }}" | ||
|
||
- name: (TEMPORARY) copy relevant updated UI files | ||
copy: src="{{ dv_repo_dir }}/{{ dv_repo_webapp_dir}}/{{ item }}" | ||
dest="{{ dv_application_directory }}/{{ item }}" | ||
owner="{{ dv_gf_user }}" group="{{ dv_gf_group }}" mode=0644 | ||
remote_src=true | ||
with_items: | ||
- "instance_header.xhtml" | ||
- "resources/css/instance-header-overrides.css" | ||
- "dataverse_header.xhtml" | ||
- "dataverse_template.xhtml" | ||
|
||
- name: (TEMPORARY) remove cloned dataverse repository | ||
file: path="{{ dv_repo_dir }}" state=absent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters