Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
f7e0757d
Commit
f7e0757d
authored
Jul 09, 2019
by
Michael Davis
Browse files
[migration] Adds new RPM for cta-migration-tools
containing: eos-import-dirs
parent
3d83458b
Changes
4
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f7e0757d
...
...
@@ -149,7 +149,7 @@ ELSE(DEFINED PackageOnly)
add_subdirectory
(
XRootdSSiRmcd
)
add_subdirectory
(
upgrade_db
)
#
add_subdirectory(migration
/gRPC
)
add_subdirectory
(
migration
)
#Generate version information
configure_file
(
${
PROJECT_SOURCE_DIR
}
/version.hpp.in
...
...
cta.spec.in
View file @
f7e0757d
...
...
@@ -295,6 +295,17 @@ Scripts and utilities to faciliate working with the CTA catalogue
%attr(0644,root,root) %doc /usr/share/man/man1/cta-catalogue-schema-verify.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/cta-database-poll.1cta.gz
%package -n cta-migration-tools
Summary: Tools for migrating CASTOR to CTA
Group: Application/CTA
Requires: cta-lib = %{version}-%{release}
%description -n cta-migration-tools
CERN Tape Archive:
Tools for migrating the CASTOR catalogue to CTA and injecting CASTOR file and
directory metadata into the EOS namespace.
%files -n cta-migration-tools
%attr(0755,root,root) %{_bindir}/eos-import-dirs
%package -n cta-rmcd
Summary: The Remote Media Changer daemon (rmcd)
Group: Application/CTA
...
...
migration/CMakeLists.txt
0 → 100644
View file @
f7e0757d
# The CERN Tape Archive (CTA) project
# Copyright 2019 CERN
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required
(
VERSION 2.6
)
add_subdirectory
(
gRPC
)
migration/gRPC/CMakeLists.txt
View file @
f7e0757d
...
...
@@ -25,4 +25,4 @@ add_executable(eos-import-dirs EosImportDirs.cpp GrpcClient.cpp)
target_link_libraries
(
eos-import-dirs EosMigration
${
PROTOBUF3_LIBRARIES
}
${
GRPC_LIBRARY
}
${
GRPC_GRPC++_LIBRARY
}
ctacatalogue
)
set_property
(
TARGET eos-import-dirs APPEND PROPERTY INSTALL_RPATH
${
PROTOBUF3_RPATH
}
)
#
install(TARGETS eos-import-dirs DESTINATION usr/bin)
install
(
TARGETS eos-import-dirs DESTINATION usr/bin
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment