Skip to content

Commit

Permalink
some doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Asa Rentschler committed Sep 19, 2024
1 parent ec49b0c commit 7a7e07b
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 24 deletions.
1 change: 1 addition & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
N/A
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<h1><img align="center" height="50" src="misc/artwork/icon.drawio.png"> VELOCITY</h1>
![icon.drawio.png](misc/artwork/icon_name.drawio.png)

-----------------------------------------------------------

## Description
A container build manager.
Expand Down
25 changes: 25 additions & 0 deletions misc/artwork/icon_name.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<mxfile host="Electron" modified="2024-09-18T19:38:25.231Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.6.4 Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36" etag="-fsxtU7bmETGwLqfFe6R" version="24.6.4" type="device">
<diagram name="Page-1" id="uTn-evIf6Q-hgHV7F_A3">
<mxGraphModel dx="1444" dy="586" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="UyPC5gKtdMc87XSLSW9K-4" value="" style="html=1;shape=mxgraph.basic.isocube;isoAngle=15;fillColor=#6d8764;fontColor=#ffffff;strokeColor=#3A5431;" parent="1" vertex="1">
<mxGeometry x="40" y="650" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="UyPC5gKtdMc87XSLSW9K-27" value="" style="html=1;shape=mxgraph.basic.isocube;isoAngle=15;fillColor=#e51400;fontColor=#ffffff;strokeColor=#B20000;" parent="1" vertex="1">
<mxGeometry x="40" y="630" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="UyPC5gKtdMc87XSLSW9K-28" value="" style="html=1;shape=mxgraph.basic.isocube;isoAngle=15;fillColor=#f0a30a;fontColor=#000000;strokeColor=#BD7000;" parent="1" vertex="1">
<mxGeometry x="40" y="610" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="UyPC5gKtdMc87XSLSW9K-29" value="" style="html=1;shape=mxgraph.basic.isocube;isoAngle=15;fillColor=#76608a;fontColor=#ffffff;strokeColor=#432D57;" parent="1" vertex="1">
<mxGeometry x="40" y="590" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="rRtnU6kyMSIYgJpVnsUB-1" value="&lt;font face=&quot;Helvetica&quot;&gt;VELOCITY&lt;/font&gt;" style="text;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;glass=0;shadow=0;textShadow=0;fontSize=136;fontFamily=Courier New;labelBorderColor=none;labelBackgroundColor=none;html=1;horizontal=1;fontStyle=0;fontColor=#666666;" parent="1" vertex="1">
<mxGeometry x="210" y="600" width="570" height="120" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Binary file added misc/artwork/icon_name.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 17 additions & 19 deletions misc/vim/vtmp.vim
Original file line number Diff line number Diff line change
@@ -1,51 +1,49 @@
" Vim syntax file
" Language: Velocity Template
" Maintainer: Asa Rentschler
" Latest Revision: April, 5, 2024
" Latest Revision: September, 19, 2024
" Velocity Version: 0.1
" Place this file in ~/.vim/syntax/ and add `au BufRead,BufNewFile *.vtmp set filetype=vtmp` to ~/.vimrc

if exists("b:current_syntax")
finish
finish
endif

" brackets
syn match codeBrackets '('
syn match codeBrackets ')'

" variable operator
syn match variableOperator '%'
" comments
syn match codeComment '>>>.*'

" velocity variables
syn keyword velocityVariable __backend__ __base__ __distro__ __hash__ __name__ __system__ __tag__ __timestamp__ __threads__
syn keyword velocityVariable __backend__ __base__ __distro__ __name__ __system__ __version__ __timestamp__

" velocity operatives
syn match velocityOperative '@'
syn match velocityOperative '|'

" backend contionals
syn match backendConditional '?\w*'
syn match velocityOperative '!envar'

" section headers
syn match sectionHeader '@from'
syn match sectionHeader '@pre'
syn match sectionHeader '@arg'
syn match sectionHeader '@copy'
syn match sectionHeader '@run'
syn match sectionHeader '@env'
syn match sectionHeader '@label'
syn match sectionHeader '@entry'
syn match sectionHeader '@post'

" template variables
" contained sections
syn match templateVariable '[a-zA-Z0-9_]*' contained
syn region templateRegion start='(' end=')' contains=templateVariable
syn match argumentName '[a-zA-Z0-9_]*' contained
syn match conditionalArrow '|>' contained

syn region variableRegion matchgroup=velocityOperative start="{{" end="}}" contains=templateVariable
syn region argumentRegion matchgroup=velocityOperative start="@@" end="@@" contains=argumentName
syn region conditionalRegion matchgroup=velocityOperative start="??" end="??" contains=conditionalArrow

let b:current_syntax = "vtmp"

hi def link codeComment Comment
hi def link sectionHeader Function
hi def link backendConditional Conditional
hi def link velocityOperative Operator
hi def link velocityVariable Identifier
hi def link variableOperator Operator
hi def link codeBrackets Special
hi def link templateVariable Identifier
hi def link argumentName Identifier
hi def link conditionalArrow Operator
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "olcf-velocity"
version = "0.1.0-rc1"
authors = [
{ name="Asa"}
]
version = "0.1.0"
description = "A container build manager"
readme = "README.md"
dependencies = [
Expand Down

0 comments on commit 7a7e07b

Please sign in to comment.