Skip to content

Commit a5fcad4

Browse files
authored
Merge pull request #1 from ukaea/release/2.6.0
Release/2.6.0
2 parents 7ccac12 + eb0c73c commit a5fcad4

36 files changed

+481
-45
lines changed

CMakeLists.txt

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ include( GetGitRevisionDescription )
4747
git_describe( GIT_TAG --tags )
4848

4949
if( "${GIT_TAG}" MATCHES "^.*NOTFOUND$" )
50-
message( "Failed to get git revision: ${GIT_TAG}" )
50+
message( WARNING "Failed to get git revision: ${GIT_TAG}" )
5151
set( GIT_VERSION "0.0.0" )
5252
elseif( "${GIT_TAG}" MATCHES "^([0-9]+\\.[0-9]+\\.[0-9]+)$" )
5353
set( GIT_VERSION "${GIT_TAG}" )
@@ -184,6 +184,9 @@ if( BUILD_SHARED_LIBS )
184184
message( "Build shared libraries asked" )
185185
endif()
186186

187+
# Server config options
188+
set (UDA_SERVER_PORT "56565" CACHE string "define port number in server configuration files")
189+
set (UDA_SERVER_HOST "`hostname`" CACHE string "define hostname in server configuration files")
187190
########################################################################################################################
188191
# Source directories
189192

@@ -232,11 +235,15 @@ include( InstallRequiredSystemLibraries )
232235

233236
set( CPACK_PACKAGE_DESCRIPTION_SUMMARY "Universal Data Access library" )
234237
set( CPACK_PACKAGE_VENDOR "ITER" )
238+
set( CPACK_PACKAGE_CONTACT "jonathan.hollocombe@ukaea.uk" )
235239
set( CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}" )
236240
set( CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}" )
237241
set( CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}" )
238242
set( CPACK_PACKAGE_INSTALL_DIRECTORY "uda-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}" )
239243
set( CPACK_PACKAGE_FILE_NAME "uda-install-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}" )
244+
set( CPACK_BUNDLE_NAME uda )
245+
set( CPACK_BUNDLE_PLIST ${CMAKE_SOURCE_DIR}/Info.plist )
246+
set( CPACK_BUNDLE_ICON ${CMAKE_SOURCE_DIR}/cmake/uda.icns )
240247
if( WIN32 OR MINGW )
241248
set( CMAKE_WIN_CURRENT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} )
242249
set( CMAKE_WIN_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} )
@@ -275,6 +282,14 @@ else()
275282
set( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENCE.txt" )
276283
set( CPACK_STRIP_FILES "bin/uda_server" )
277284
set( CPACK_SOURCE_STRIP_FILES "" )
285+
286+
set( CPACK_RPM_PACKAGE_NAME "uda" )
287+
set( CPACK_RPM_PACKAGE_SUMMARY "UDA RPM package" )
288+
set( CPACK_RPM_FILE_NAME RPM-DEFAULT )
289+
set( CPACK_RPM_PACKAGE_VERSION CPACK_PACKAGE_VERSION )
290+
set( CPACK_RPM_PACKAGE_ARCHITECTURE noarch )
291+
set( CPACK_RPM_PACKAGE_RELEASE 1 )
292+
set( CPACK_RPM_PACKAGE_LICENSE "Apache, version 2" )
278293
endif()
279294
set( CPACK_PACKAGE_EXECUTABLES "uda_server" "UDA Server" )
280295

cmake/icon.bmp

-192 KB
Binary file not shown.

docs/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Gemfile.lock
2+
.jekyll-cache
3+
_site

docs/404.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: default
3+
title: 404
4+
permalink: /404
5+
nav_exclude: true
6+
search_exclude: true
7+
---
8+
9+
<h1>Page not found</h1>
10+
11+
<p>The page you requested could not be found. Try using the navigation {% if site.search_enabled != false %}or search {% endif %}to find what you're looking for or go to this <a href="{{ '/' | relative_url }}">site's home page</a>.</p>

docs/Gemfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", "~> 4.1"
4+
gem "jekyll-sitemap", "~> 1.4.0"
5+
gem "jekyll-mentions", "~> 1.6.0"
6+
gem "jekyll-paginate", "~> 1.1.0"
7+
gem "jekyll-seo-tag", "~> 2.6.1"
8+
gem "jekyll-redirect-from", "~> 0.16"
9+
gem "jekyll-feed", "~> 0.15"
10+
gem "jekyll-commonmark", "~> 1.3.1"
11+
gem "jekyll-include-cache", "~> 0.2"
12+
gem "jemoji", "~> 0.12"
13+
gem "jekyll-remote-theme", "~> 0.3"
14+
gem "webrick", "~> 1.7"
15+
gem "rake", "~> 13.0"

docs/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Starter kit for [Alembic](https://alembic.darn.es/)
2+
3+
This is a very simple starting point if you wish to use Alembic [as a Jekyll theme gem](https://alembic.darn.es/#as-a-jekyll-theme) or as a [GitHub Pages remote theme](https://github.com/daviddarnes/alembic-kit/tree/remote-theme) (see `remote-theme` branch).
4+
5+
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/daviddarnes/alembic-kit)
6+
7+
or
8+
9+
**[Download the GitHub Pages kit](https://github.com/daviddarnes/alembic-kit/archive/remote-theme.zip)**

docs/UDA architecture.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/UDA fatclient.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/_config.yml

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
# Set theme
2+
remote_theme: just-the-docs/just-the-docs@main
3+
4+
# File excludes
5+
exclude:
6+
- README.md
7+
- Gemfile
8+
- Gemfile.lock
9+
- .jekyll-cache
10+
- .sass-cache
11+
12+
# Set a path/url to a logo that will be displayed instead of the title
13+
logo: "/assets/images/uda_logo.svg"
14+
15+
# Enable or disable the site search
16+
# Supports true (default) or false
17+
search_enabled: true
18+
search:
19+
# Split pages into sections that can be searched individually
20+
# Supports 1 - 6, default: 2
21+
heading_level: 2
22+
# Maximum amount of previews per search result
23+
# Default: 3
24+
previews: 2
25+
# Maximum amount of words to display before a matched word in the preview
26+
# Default: 5
27+
preview_words_before: 3
28+
# Maximum amount of words to display after a matched word in the preview
29+
# Default: 10
30+
preview_words_after: 3
31+
# Set the search token separator
32+
# Default: /[\s\-/]+/
33+
# Example: enable support for hyphenated search words
34+
tokenizer_separator: /[\s/]+/
35+
# Display the relative url in search results
36+
# Supports true (default) or false
37+
rel_url: true
38+
# Enable or disable the search button that appears in the bottom right corner of every page
39+
# Supports true or false (default)
40+
button: false
41+
42+
# Enable or disable heading anchors
43+
heading_anchors: true
44+
45+
# Aux links for the upper right navigation
46+
aux_links:
47+
"UDA on GitHub":
48+
- "https://github.com/ukaea/uda"
49+
50+
# Makes Aux links open in a new tab. Default is false
51+
aux_links_new_tab: false
52+
53+
# Sort order for navigation links
54+
# nav_sort: case_insensitive # default, equivalent to nil
55+
nav_sort: case_sensitive # Capital letters sorted before lowercase
56+
57+
# External navigation links
58+
nav_external_links:
59+
- title: UDA on GitHub
60+
url: https://github.com/ukaea/uda
61+
62+
# Back to top link
63+
back_to_top: true
64+
back_to_top_text: "Back to top"
65+
66+
# Footer last edited timestamp
67+
last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter
68+
last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https://ruby-doc.org/stdlib-2.7.0/libdoc/time/rdoc/Time.html
69+
70+
# Footer "Edit this page on GitHub" link text
71+
gh_edit_link: true # show or hide edit this page link
72+
gh_edit_link_text: "Edit this page on GitHub"
73+
gh_edit_repository: "https://github.com/ukaea/uda" # the github URL for your repo
74+
gh_edit_branch: "docs" # the branch that your docs is served from
75+
gh_edit_source: docs # the source that your files originate from
76+
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately
77+
78+
# Color scheme currently only supports "dark", "light"/nil (default), or a custom scheme that you define
79+
color_scheme: light
80+
81+
callouts_level: quiet # or loud
82+
callouts:
83+
highlight:
84+
color: yellow
85+
important:
86+
title: Important
87+
color: blue
88+
new:
89+
title: New
90+
color: green
91+
note:
92+
title: Note
93+
color: purple
94+
warning:
95+
title: Warning
96+
color: red
97+
98+
plugins:
99+
- jekyll-sitemap
100+
- jekyll-mentions
101+
- jekyll-paginate
102+
- jekyll-seo-tag
103+
- jekyll-redirect-from
104+
- jekyll-feed
105+
- jekyll-commonmark
106+
- jekyll-include-cache
107+
- jemoji
108+
- jekyll-remote-theme
109+
110+
kramdown:
111+
syntax_highlighter_opts:
112+
block:
113+
line_numbers: false
114+
115+
compress_html:
116+
clippings: all
117+
comments: all
118+
endings: all
119+
startings: []
120+
blanklines: false
121+
profile: false
122+
# ignore:
123+
# envs: all
124+
125+
# Site settings
126+
url: 'https://ukaea.github.io/UDA/'
127+
baseurl: '/UDA'
128+
title: 'UDA'
129+
description: 'UDA documentation'
130+
permalink: pretty
131+
encoding: utf-8 # Make sure the encoding is right
132+
lang: en-GB # Set the site language
133+
repo: "https://github.com/ukaea/UDA"
134+
email: "jonathan.hollocombe@ukaea.uk"
135+
136+
favicons: # Favicons are also used in the manifest file. Syntax is 'size: path'
137+
16: '/assets/logos/favicon-16x16.png'
138+
32: '/assets/logos/favicon-32x32.png'

docs/_includes/head_custom.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<link rel="shortcut icon" type="image/png" href="/UDA/assets/logos/favicon-32x32.png">

0 commit comments

Comments
 (0)