falkorlib 0.8.9 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +57 -117
- data/README.md +1 -1
- data/binscripts/bootstrap.sh +8 -10
- data/falkorlib.gemspec +12 -12
- data/lib/falkorlib/bootstrap/base.rb +29 -25
- data/lib/falkorlib/bootstrap/latex.rb +7 -2
- data/lib/falkorlib/bootstrap/vagrant.rb +17 -10
- data/lib/falkorlib/common.rb +3 -3
- data/lib/falkorlib/config.rb +3 -3
- data/lib/falkorlib/gem_tasks.rb +1 -1
- data/lib/falkorlib/git_tasks.rb +1 -1
- data/lib/falkorlib/puppet_tasks.rb +1 -1
- data/lib/falkorlib/version.rb +2 -1
- data/spec/falkorlib/bootstrap_latex_spec.rb +6 -5
- data/spec/falkorlib/git_spec.rb +2 -2
- data/spec/falkorlib/gitflow_spec.rb +5 -4
- data/templates/latex/article/_related_works.tex.erb +1 -1
- data/templates/latex/article/biblio.bib.erb +12 -1
- data/templates/latex/article-acm/main.tex.erb +47 -65
- data/templates/latex/article-ieee/main.tex.erb +42 -410
- data/templates/latex/article-llncs/main.tex.erb +30 -18
- data/templates/latex/beamer/.Makefile.local +1 -0
- data/templates/latex/beamer/_content.md.erb +1 -1
- data/templates/latex/beamer/main.tex.erb +24 -11
- data/templates/latex/images/logo_ANSSI.png +0 -0
- data/templates/latex/images/logo_RF.png +0 -0
- data/templates/latex/llncs/llncs.cls +49 -39
- data/templates/latex/llncs/{splncs03.bst → splncs04.bst} +40 -11
- data/templates/vagrant/.gitignore +14 -0
- data/templates/vagrant/Vagrantfile.erb +53 -15
- data/templates/vagrant/vagrant/config.yaml.sample +9 -6
- data/templates/vagrant/vagrant/scripts/bootstrap.sh +32 -14
- metadata +81 -77
- data/templates/latex/images/logo_UL.pdf +0 -0
- data/templates/latex/images/logo_ULHPC.pdf +0 -0
    
        data/spec/falkorlib/git_spec.rb
    CHANGED
    
    | @@ -2,7 +2,7 @@ | |
| 2 2 | 
             
            #########################################
         | 
| 3 3 | 
             
            # git_spec.rb
         | 
| 4 4 | 
             
            # @author Sebastien Varrette <Sebastien.Varrette@uni.lu>
         | 
| 5 | 
            -
            # Time-stamp: < | 
| 5 | 
            +
            # Time-stamp: <Wed 2023-11-22 17:21 svarrette>
         | 
| 6 6 | 
             
            #
         | 
| 7 7 | 
             
            # @description Check the Git operations
         | 
| 8 8 | 
             
            #
         | 
| @@ -316,7 +316,7 @@ describe FalkorLib::Git do | |
| 316 316 |  | 
| 317 317 | 
             
                    [ :subtrees, :submodules ].each do |type|
         | 
| 318 318 | 
             
                      it "#config_warn(#{type})" do
         | 
| 319 | 
            -
                        t = capture(: | 
| 319 | 
            +
                        t = capture(:stderr) { FalkorLib::Git.config_warn(type) }
         | 
| 320 320 | 
             
                        expect(t).to include "FalkorLib.config.git"
         | 
| 321 321 | 
             
                        expect(t).to include "FalkorLib.config.git.submodulesdir" if type == :submodules
         | 
| 322 322 | 
             
                      end
         | 
| @@ -2,7 +2,7 @@ | |
| 2 2 | 
             
            #########################################
         | 
| 3 3 | 
             
            # gitflow_spec.rb
         | 
| 4 4 | 
             
            # @author Sebastien Varrette <Sebastien.Varrette@uni.lu>
         | 
| 5 | 
            -
            # Time-stamp: < | 
| 5 | 
            +
            # Time-stamp: <Wed 2023-11-22 09:52 svarrette>
         | 
| 6 6 | 
             
            #
         | 
| 7 7 | 
             
            # @description Check the Git Flow operations -- see https://github.com/nvie/gitflow
         | 
| 8 8 | 
             
            #
         | 
| @@ -50,7 +50,7 @@ describe FalkorLib::GitFlow do | |
| 50 50 | 
             
                  it "#branch" do
         | 
| 51 51 | 
             
                    expected = {
         | 
| 52 52 | 
             
                      :master  => 'production',
         | 
| 53 | 
            -
                      :develop => ' | 
| 53 | 
            +
                      :develop => 'master'
         | 
| 54 54 | 
             
                    }
         | 
| 55 55 | 
             
                    expected.each do |type,v|
         | 
| 56 56 | 
             
                      b = FalkorLib::GitFlow.branches(type.to_sym, dir)
         | 
| @@ -82,9 +82,10 @@ describe FalkorLib::GitFlow do | |
| 82 82 | 
             
                    c = FalkorLib::GitFlow.guess_gitflow_config(dir)
         | 
| 83 83 | 
             
                    {
         | 
| 84 84 | 
             
                      :master  => 'production',
         | 
| 85 | 
            -
                      :develop => ' | 
| 85 | 
            +
                      :develop => 'master'
         | 
| 86 86 | 
             
                    }.each do |type,v|
         | 
| 87 | 
            -
                      expect(c[:branches][type.to_sym]).to eq(v)
         | 
| 87 | 
            +
                      expect(c[:branches][type.to_sym]).to eq(v)      if v.is_a? String
         | 
| 88 | 
            +
                      expect(v).to include(c[:branches][type.to_sym]) if v.is_a? Array
         | 
| 88 89 | 
             
                    end
         | 
| 89 90 | 
             
                    {
         | 
| 90 91 | 
             
                      :feature    => 'feature/',
         | 
| @@ -1,13 +1,24 @@ | |
| 1 1 | 
             
            %=======================================================================
         | 
| 2 2 | 
             
            % File:  biblio.bib -- BibTeX entries
         | 
| 3 3 | 
             
            % Author(s): <%= config[:author] %> (<%= config[:mail].gsub(/@/, ' at ') %>)
         | 
| 4 | 
            -
            % Time-stamp: < | 
| 4 | 
            +
            % Time-stamp: <Wed 2022-08-17 10:07 svarrette>
         | 
| 5 5 | 
             
            %
         | 
| 6 6 | 
             
            % Copyright (c) <%= Time.now.year %> <%= config[:author] %>
         | 
| 7 7 | 
             
            %
         | 
| 8 8 | 
             
            % More information on BibTeX: http://www.bibtex.org/
         | 
| 9 9 | 
             
            %=======================================================================
         | 
| 10 10 |  | 
| 11 | 
            +
            @inproceedings{VCPKVO_HPCCT22,
         | 
| 12 | 
            +
              author = {Varrette, S. and Cartiaux, H. and Peter, S. and Kieffer, E. and Valette, T. and Olloh, A.},
         | 
| 13 | 
            +
              title = {{Management of an Academic HPC \& Research Computing Facility: The ULHPC Experience 2.0}},
         | 
| 14 | 
            +
              booktitle = {Proc. of the 6th ACM High Performance Computing and Cluster Technologies Conf. (HPCCT 2022)},
         | 
| 15 | 
            +
              year = {2022},
         | 
| 16 | 
            +
              month = jul,
         | 
| 17 | 
            +
              address = {Fuzhou, China},
         | 
| 18 | 
            +
              isbn = {978-1-4503-9664-6},
         | 
| 19 | 
            +
              publisher = {Association for Computing Machinery (ACM)},
         | 
| 20 | 
            +
            }
         | 
| 21 | 
            +
             | 
| 11 22 | 
             
            @InProceedings{VBCG_HPCS14,
         | 
| 12 23 | 
             
               author =       {S. Varrette and P. Bouvry and H. Cartiaux and F. Georgatos},
         | 
| 13 24 | 
             
               title =        {{Management of an Academic HPC Cluster: The UL Experience}},
         | 
| @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            % =============================================================================
         | 
| 2 2 | 
             
            % File:  <%= config[:name] %>.tex --
         | 
| 3 3 | 
             
            % Author(s): <%= config[:author] %> (<%= config[:mail] %>)
         | 
| 4 | 
            -
            % Time-stamp: < | 
| 4 | 
            +
            % Time-stamp: <Wed 2022-08-17 10:06 svarrette>
         | 
| 5 5 | 
             
            %
         | 
| 6 6 | 
             
            % Copyright (c) <%= Time.now.year %> <%= config[:author] %><Sebastien.Varrette@uni.lu>
         | 
| 7 7 | 
             
            %
         | 
| @@ -11,37 +11,36 @@ | |
| 11 11 | 
             
            % - LaTeX symbol list:
         | 
| 12 12 | 
             
            % http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
         | 
| 13 13 | 
             
            % =============================================================================
         | 
| 14 | 
            -
            % /!\ WARNING: inspired from  | 
| 14 | 
            +
            % /!\ WARNING: inspired from 2021 ACM Article Template
         | 
| 15 15 | 
             
            % see https://www.acm.org/publications/proceedings-template
         | 
| 16 16 |  | 
| 17 | 
            +
            %\documentclass[acmlarge]{acmart}
         | 
| 17 18 | 
             
            \documentclass[sigconf]{acmart}
         | 
| 18 19 |  | 
| 19 20 | 
             
            \usepackage{_style}
         | 
| 20 21 |  | 
| 21 22 | 
             
            \usepackage{booktabs} % For formal tables
         | 
| 23 | 
            +
            \usepackage{balance}
         | 
| 22 24 |  | 
| 23 25 | 
             
            % Copyright
         | 
| 24 26 | 
             
            %\setcopyright{none}
         | 
| 25 | 
            -
             | 
| 27 | 
            +
            \setcopyright{acmcopyright}
         | 
| 26 28 | 
             
            %\setcopyright{acmlicensed}
         | 
| 27 | 
            -
             | 
| 28 | 
            -
            %\setcopyright{usgov}
         | 
| 29 | 
            -
            %\setcopyright{usgovmixed}
         | 
| 30 | 
            -
            %\setcopyright{cagov}
         | 
| 31 | 
            -
            %\setcopyright{cagovmixed}
         | 
| 29 | 
            +
            %\setcopyright{rightsretained}
         | 
| 32 30 |  | 
| 33 31 | 
             
            % DOI
         | 
| 34 | 
            -
            \acmDOI{10.475/123_4}
         | 
| 32 | 
            +
            \acmDOI{} %10.475/123_4}
         | 
| 35 33 |  | 
| 36 34 | 
             
            % ISBN
         | 
| 37 35 | 
             
            \acmISBN{123-4567-24-567/08/06}
         | 
| 38 36 |  | 
| 39 37 | 
             
            %Conference
         | 
| 40 38 | 
             
            \acmConference[<%= config[:name] %>]{ACM <%= config[:name].capitalize %> conference}{June <%= Time.now.year %>}{El Paso, Texas USA}
         | 
| 39 | 
            +
            \acmBooktitle{XX$^\text{th}$ <%= config[:name].capitalize %> Conference (<%= config[:name] %>), June <%= Time.now.year %>, El Paso, Texas USA}
         | 
| 41 40 | 
             
            \acmYear{<%= Time.now.year %>}
         | 
| 42 41 | 
             
            \copyrightyear{<%= Time.now.year %>}
         | 
| 43 42 |  | 
| 44 | 
            -
            \acmPrice{ | 
| 43 | 
            +
            \acmPrice{}
         | 
| 45 44 |  | 
| 46 45 | 
             
            % =============================================================================
         | 
| 47 46 | 
             
            \begin{document}
         | 
| @@ -61,43 +60,31 @@ | |
| 61 60 | 
             
            \author{%
         | 
| 62 61 | 
             
              <%= config[:author] %>
         | 
| 63 62 | 
             
            }
         | 
| 64 | 
            -
            %\authornote{}
         | 
| 65 | 
            -
            \orcid{1234-5678-9012}
         | 
| 66 | 
            -
            \affiliation{%
         | 
| 67 | 
            -
              \institution{%
         | 
| 68 | 
            -
                Computer Science and Communications (CSC) Research Unit\\
         | 
| 69 | 
            -
                University of Luxembourg
         | 
| 70 | 
            -
              }
         | 
| 71 | 
            -
              \streetaddress{6, rue Richard Coudenhove-Kalergi}
         | 
| 72 | 
            -
              \city{Luxembourg}
         | 
| 73 | 
            -
              %\state{Ohio}
         | 
| 74 | 
            -
              \postcode{L-1359}
         | 
| 75 | 
            -
            }
         | 
| 76 63 | 
             
            \email{%
         | 
| 77 64 | 
             
              <%= config[:mail] %>
         | 
| 78 65 | 
             
            }
         | 
| 79 | 
            -
             | 
| 80 | 
            -
            \author{Firstname Name2}
         | 
| 81 66 | 
             
            %\authornote{}
         | 
| 82 | 
            -
             | 
| 67 | 
            +
            \orcid{1234-5678-9012}
         | 
| 83 68 | 
             
            \affiliation{%
         | 
| 84 | 
            -
              \institution{ | 
| 85 | 
            -
                Interdisciplinary Centre for Security Reliability and Trust | 
| 69 | 
            +
              \institution{
         | 
| 70 | 
            +
                % Interdisciplinary Centre for Security Reliability and Trust (SnT) \and
         | 
| 71 | 
            +
                Faculty of Science, Technology and Medicine (FSTM) %\and
         | 
| 72 | 
            +
                % Luxembourg Centre for Systems Biomedicine (LCSB)
         | 
| 73 | 
            +
                % Faculty of Science, Technology and Medicine (FSTM),
         | 
| 86 74 | 
             
                University of Luxembourg
         | 
| 87 75 | 
             
              }
         | 
| 88 | 
            -
              \streetaddress{ | 
| 89 | 
            -
              \city{ | 
| 90 | 
            -
               | 
| 91 | 
            -
              \ | 
| 76 | 
            +
              \streetaddress{2 av. de l'Université}
         | 
| 77 | 
            +
              \city{Esch-sur-Alzette}
         | 
| 78 | 
            +
              \postcode{L-4365}
         | 
| 79 | 
            +
              \country{Luxembourg}
         | 
| 92 80 | 
             
            }
         | 
| 93 | 
            -
            \email{Fistname.Name2@uni.lu}
         | 
| 94 81 |  | 
| 95 | 
            -
            \author{ | 
| 82 | 
            +
            \author{Firstname Name2}
         | 
| 96 83 | 
             
            %\authornote{}
         | 
| 97 84 | 
             
            %\orcid{}
         | 
| 98 85 | 
             
            \affiliation{%
         | 
| 99 86 | 
             
              \institution{%
         | 
| 100 | 
            -
                 | 
| 87 | 
            +
                Interdisciplinary Centre for Security Reliability and Trust\\
         | 
| 101 88 | 
             
                University of Luxembourg
         | 
| 102 89 | 
             
              }
         | 
| 103 90 | 
             
              \streetaddress{6, rue Richard Coudenhove-Kalergi}
         | 
| @@ -105,7 +92,6 @@ | |
| 105 92 | 
             
              %\state{Ohio}
         | 
| 106 93 | 
             
              \postcode{L-1359}
         | 
| 107 94 | 
             
            }
         | 
| 108 | 
            -
            \email{Pascal.Bouvry@uni.lu}
         | 
| 109 95 |  | 
| 110 96 | 
             
            % The default list of authors is too long for headers}
         | 
| 111 97 | 
             
            \renewcommand{\shortauthors}{%
         | 
| @@ -127,36 +113,33 @@ | |
| 127 113 | 
             
            %
         | 
| 128 114 | 
             
            \begin{CCSXML}
         | 
| 129 115 | 
             
            <ccs2012>
         | 
| 130 | 
            -
             | 
| 131 | 
            -
             | 
| 132 | 
            -
             | 
| 133 | 
            -
             | 
| 134 | 
            -
             | 
| 135 | 
            -
             | 
| 136 | 
            -
             | 
| 137 | 
            -
             | 
| 138 | 
            -
             | 
| 139 | 
            -
             | 
| 140 | 
            -
             | 
| 141 | 
            -
             | 
| 142 | 
            -
             | 
| 143 | 
            -
             | 
| 144 | 
            -
             | 
| 145 | 
            -
             | 
| 146 | 
            -
             | 
| 147 | 
            -
             | 
| 148 | 
            -
             | 
| 149 | 
            -
             | 
| 116 | 
            +
            <concept>
         | 
| 117 | 
            +
            <concept_id>10010520.10010521</concept_id>
         | 
| 118 | 
            +
            <concept_desc>Computer systems organization~Architectures</concept_desc>
         | 
| 119 | 
            +
            <concept_significance>500</concept_significance>
         | 
| 120 | 
            +
            </concept>
         | 
| 121 | 
            +
            <concept>
         | 
| 122 | 
            +
            <concept_id>10003033</concept_id>
         | 
| 123 | 
            +
            <concept_desc>Networks</concept_desc>
         | 
| 124 | 
            +
            <concept_significance>300</concept_significance>
         | 
| 125 | 
            +
            </concept>
         | 
| 126 | 
            +
            <concept>
         | 
| 127 | 
            +
            <concept_id>10010520.10010575</concept_id>
         | 
| 128 | 
            +
            <concept_desc>Computer systems organization~Dependable and fault-tolerant systems and networks</concept_desc>
         | 
| 129 | 
            +
            <concept_significance>300</concept_significance>
         | 
| 130 | 
            +
            </concept>
         | 
| 131 | 
            +
            <concept>
         | 
| 132 | 
            +
            <concept_id>10011007.10011074</concept_id>
         | 
| 133 | 
            +
            <concept_desc>Software and its engineering~Software creation and management</concept_desc>
         | 
| 134 | 
            +
            <concept_significance>100</concept_significance>
         | 
| 135 | 
            +
            </concept>
         | 
| 150 136 | 
             
            </ccs2012>
         | 
| 151 137 | 
             
            \end{CCSXML}
         | 
| 152 138 |  | 
| 153 | 
            -
            \ccsdesc[500]{Computer systems organization~ | 
| 154 | 
            -
            \ccsdesc[300]{ | 
| 155 | 
            -
            \ccsdesc{Computer systems organization~ | 
| 156 | 
            -
            \ccsdesc[100]{ | 
| 157 | 
            -
             | 
| 158 | 
            -
            % We no longer use \terms command
         | 
| 159 | 
            -
            %\terms{Theory}
         | 
| 139 | 
            +
            \ccsdesc[500]{Computer systems organization~Architectures}
         | 
| 140 | 
            +
            \ccsdesc[300]{Networks}
         | 
| 141 | 
            +
            \ccsdesc[300]{Computer systems organization~Dependable and fault-tolerant systems and networks}
         | 
| 142 | 
            +
            \ccsdesc[100]{Software and its engineering~Software creation and management}
         | 
| 160 143 |  | 
| 161 144 | 
             
            %__________
         | 
| 162 145 | 
             
            \keywords{%
         | 
| @@ -200,10 +183,9 @@ | |
| 200 183 |  | 
| 201 184 | 
             
            ~\\
         | 
| 202 185 | 
             
            {\noindent \textbf{Acknowledgments:}}
         | 
| 203 | 
            -
            % \\
         | 
| 204 186 | 
             
            The experiments presented in this paper were carried out
         | 
| 205 | 
            -
            using the HPC facilities of the University of Luxembourg~\cite{ | 
| 206 | 
            -
            {\small -- see \url{ | 
| 187 | 
            +
            using the HPC facilities of the University of Luxembourg~\cite{VCPKVO_HPCCT22}
         | 
| 188 | 
            +
            {\small -- see \url{https://hpc.uni.lu}}.
         | 
| 207 189 |  | 
| 208 190 |  | 
| 209 191 | 
             
            \bibliographystyle{ACM-Reference-Format}
         |