-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from cal0pteryx/master
Build via Github Actions, update styles, fix broken URLs
- Loading branch information
Showing
34 changed files
with
177 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Build Registry Files | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
# Allows to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
ARCHIVE: xsf-registrar-master.tar.gz | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
- name: Install xmllint and xslt utilities | ||
run: sudo apt-get install -y libxml2-utils xsltproc | ||
- name: Build files | ||
run: make all | ||
- name: Create build archive | ||
run: tar -czf ${{ env.ARCHIVE }} "./registrar" | ||
- name: Upload build artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: xsf-registrar-master | ||
path: ${{ env.ARCHIVE }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Validate Registry Files | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
# Allows to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
- name: Install xmllint | ||
run: sudo apt-get install -y libxml2-utils | ||
- name: Validate | ||
run: make validate |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# XSF Registrar | ||
|
||
[xmpp.org/registrar](https://xmpp.org/registrar/) | ||
|
||
## Building | ||
|
||
### Make | ||
|
||
Validate using: | ||
|
||
```shell | ||
make validate | ||
``` | ||
|
||
Build using: | ||
|
||
```shell | ||
make build | ||
``` | ||
|
||
### Docker | ||
|
||
```shell | ||
sudo docker build -t xmppxsf/registrar . | ||
``` | ||
|
||
```shell | ||
sudo docker run -p 80:80 -t -i xmppxsf/registrar | ||
``` | ||
|
||
View at [localhost/registrar/](http://localhost/registrar/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ def getText(nodelist): | |
# The $title registry has been updated. | ||
# Version: $version | ||
# Changelog: $remark ($initials) | ||
# URL: http://xmpp.org/registrar/$regname.html | ||
# URL: https://xmpp.org/registrar/$regname.html | ||
|
||
fromaddr = "[email protected]" | ||
# for testing... | ||
|
@@ -87,7 +87,7 @@ def getText(nodelist): | |
|
||
versionline = 'Version: ' + version | ||
changelogline = 'Changelog: ' + remark + ' (' + initials + ')' | ||
urlline = 'URL: http://xmpp.org/registrar/' + regname + '.html' | ||
urlline = 'URL: https://xmpp.org/registrar/' + regname + '.html' | ||
|
||
msg = "From: XMPP Registrar <%s>\r\n" % fromaddr | ||
msg = msg + "To: %s\r\n" % toaddrs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.