Skip to content

Commit

Permalink
upd(project): Minor updates
Browse files Browse the repository at this point in the history
- Update Hugo to recent version that enables run server in Arm test
  environemnts
- Fix dev links pointing to old github wiki
- Rename pages with invalid double collon in name

Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
  • Loading branch information
heliocastro committed Jan 16, 2023
1 parent 73265ee commit aac964c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: "HOME"
value: "/home/jenkins"
- name: hugo
image: klakegg/hugo:0.93.2-ext-ubuntu
image: klakegg/hugo:0.107.0-ext-ubuntu
command:
- cat
tty: true
Expand Down
8 changes: 3 additions & 5 deletions content/en/docs/Development/Dev-DoD-and-Style.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@ description: "The definition of done helps to set a common understanding for sol
* Copyright and author

* Create Branches for sw360
* Please use conventional branch names for sw360 ([Dev-Branches](https://github.com/eclipse/sw360/wiki/Dev-Branches))

* Please use conventional branch names for sw360 [Dev-Branches]({{< relref path="Dev-Branches.md">}})
* Avoid (serious) compiler warnings
* Squash your commits into one or more logical units of work. No dozens of hourly/daily commits in your pull request, please
* Rebase onto current master so that a fast forward merge is possible
* That means that merge to master is prepared

* use conventional change log for commit messages ([Dev-Semantic-Commits](https://github.com/eclipse/sw360/wiki/Dev-Semantic-Commits)) <br> For more information please go to https://conventionalcommits.org/

* No breaking test
* Unit testing as it is already present
* You have more - use them!
Expand All @@ -42,7 +40,7 @@ description: "The definition of done helps to set a common understanding for sol

* Commit style
* try to squash commits. In the ideal case, a feature is contained in one commit.
* try to use conventional changelog for commit messages. ([Dev-Semantic-Commits](https://github.com/eclipse/sw360/wiki/Dev-Semantic-Commits))
* try to use conventional changelog for commit messages. [Dev-Semantic-Commits]({{< relref path="Dev-Semantic-Commits.md" >}})

# Review

Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/Development/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ sw360 is a server application using Java servlets. It did some faint steps towar

### General

1. [How to write a new portlet](https://github.com/eclipse/sw360/wiki/Dev-Adding-a-new-portlet:-Frontend)
1. [Adding a new backend service](https://github.com/eclipse/sw360/wiki/Dev-Adding-a-new-portlet:-Backend)
1. [How to write a new portlet]({{< relref path="Dev-Adding-a-new-portlet-Frontend.md" >}})
1. [Adding a new backend service]({{< relref path="Dev-Adding-a-new-portlet-Backend.md" >}})
1. [Changing the data model](Dev-Adding-New-Fields-to-Existing-Classes)
1. [REST API overview](Dev-REST-API)
1. [Migrating to Javascript modules](Dev-Using-RequireJS-for-javascript-modules)
Expand Down
10 changes: 9 additions & 1 deletion docker_serve_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,12 @@ echo "Create a template dir to allow Hugo properly clone the modules"
mkdir -p themes/docsy

echo "Open local browser on port 1313"
docker run -v $PWD:/src --rm --name sw360_website -p 1313:1313 $@ klakegg/hugo:0.93.2-ext-ubuntu server --verbose --verboseLog --debug --cleanDestinationDir --baseUrl http://localhost:1313/sw360
docker run \
-v $PWD:/src \
--rm \
--name sw360_website \
-p 1313:1313 \
"$@" \
klakegg/hugo:0.107.0-ext-ubuntu \
server --verbose --verboseLog --debug --cleanDestinationDir \
--baseUrl http://localhost:1313/sw360

0 comments on commit aac964c

Please sign in to comment.