Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
393 commits
Select commit Hold shift + click to select a range
0a846fc
fix ivoa-std/MANGO#43
lmichel Oct 10, 2024
d8956c6
Update abstract in MANGO.tex
loumir Oct 10, 2024
40c0d40
Update MANGO.tex
loumir Oct 10, 2024
f13094f
Update introduction in MANGO.tex
loumir Oct 10, 2024
ef7e364
Merge pull request #44 from lmichel/update-abstract
loumir Oct 10, 2024
f534322
Merge pull request #45 from lmichel/update_introduction
loumir Oct 10, 2024
87d6ac5
Update MANGO.tex section Uses cases
loumir Oct 10, 2024
fa8d8a4
Merge branch 'update_usecasesection2' of github.com:lmichel/MANGO int…
Oct 11, 2024
053448e
Merge pull request #46 from lmichel/xray-usecase
lmichel Oct 11, 2024
1b1cd3e
Merge pull request #39 from lmichel/tap-section
lmichel Oct 11, 2024
c0c82e2
Merge branch 'wd-v1.0' of github.com:lmichel/MANGO into wd-v1.0
lmichel Oct 17, 2024
cb85002
remove commented block
lmichel Oct 17, 2024
17785f1
Add Ian Evans input
lmichel Oct 17, 2024
a3e07ab
data
lmichel Oct 17, 2024
be0b9d1
put use cases in a separate file
lmichel Oct 17, 2024
12ebab5
layout
lmichel Oct 17, 2024
c8f8b8b
add asymmetric error for 1D parameter
lmichel Oct 17, 2024
d0028c0
PropertyError1D renamed Symmetric1D
lmichel Oct 17, 2024
37fd777
PropertyError1D renamed Symmetric1D
lmichel Oct 17, 2024
34589ef
Merge branch 'asymmetric-1D-error' of git@github.com:lmichel/MANGO.gi…
lmichel Oct 17, 2024
0e633c3
Merge pull request #50 from lmichel/xray-chandra
lmichel Oct 17, 2024
62321af
replace error magnitude with error amplitude
lmichel Oct 17, 2024
d4d81ea
Merge pull request #52 from lmichel/asymmetric-1D-error
lmichel Oct 17, 2024
9439756
remove unrelated models from role-diagram
lmichel Oct 19, 2024
1b7b3c7
add reference to figures
lmichel Oct 19, 2024
fd61c1a
add a table of supported properties (3.1.1); add reference to figure in
lmichel Oct 20, 2024
7615986
remove trash folder with obsolete correlation model
lmichel Oct 20, 2024
c7e570e
Merge pull request #55 from lmichel/model-presentation
lmichel Oct 21, 2024
2a02a62
correction for PR 56
Oct 22, 2024
27c4bd3
Merge pull request #58 from loumir/ml-correction_2210
lmichel Oct 22, 2024
ec876ad
create a superclass for the photometric properties
lmichel Dec 5, 2024
4871647
add reference to Coords DM
lmichel Dec 5, 2024
59ac022
remove super class for 2D parameters
lmichel Dec 5, 2024
507ac9b
update version
lmichel Dec 5, 2024
975a2e8
description of the photometric super class
lmichel Dec 5, 2024
fe76087
description of a new class
lmichel Dec 5, 2024
cbb49a6
update generated stuff
lmichel Dec 5, 2024
87c432c
remove duplicated error field
lmichel Dec 5, 2024
1f79406
add to errors an attribute giving the statistical distribution.
lmichel Dec 5, 2024
4fe081a
Apply custom TOC
lmichel Jan 30, 2025
ab337fa
ignore pyc files
lmichel Jan 30, 2025
d38ea19
issue #63
lmichel Jan 30, 2025
f0868e0
remove shapeFrame + various corrections
lmichel Jan 30, 2025
6927bbe
Merge branch 'wd-v1.0' into model-presentation
lmichel Jan 31, 2025
0d99384
Merge pull request #62 from lmichel/model-presentation
lmichel Jan 31, 2025
e478adf
fix toc processing
lmichel Feb 3, 2025
47b220c
Merge pull request #72 from lmichel/fix-toc-processing
lmichel Feb 3, 2025
c2d2559
Answer #74: hide details of the science cases and reference to M Taylor
lmichel Feb 6, 2025
bbfdc5f
Error 2D limited to Symmetrical2D(sigma1, sigma2) or Ellipse(maj, min,
lmichel Feb 6, 2025
3c5277b
Merge pull request #75 from lmichel/remove-science-apppendies
lmichel Feb 6, 2025
800fcea
answer to #73
lmichel Feb 6, 2025
0014cc5
refer to Symmetrical2D
lmichel Feb 6, 2025
124b58c
typo
lmichel Feb 6, 2025
b4ba1f6
revamp data origin (query -> dataOrigin(s))
lmichel Feb 13, 2025
3c4e878
commit generated stuff
lmichel Feb 13, 2025
91cb591
hide science appendices
lmichel Feb 13, 2025
eef13dc
workflow watchout
lmichel Feb 13, 2025
f467f39
Merge branch 'wd-v1.0' into issue73-EP-errors-issue73
lmichel Feb 13, 2025
04d6e95
Merge pull request #76 from lmichel/issue73-EP-errors-issue73
lmichel Feb 18, 2025
fa6ceea
#63 ti 73
lmichel Feb 18, 2025
3dc7805
Merge pull request #77 from lmichel/issue73-EP-errors-issue73
lmichel Feb 18, 2025
e64c3fb
Update data origin
lmichel Feb 20, 2025
4074772
rename Article.code as Article.identifier
lmichel Feb 20, 2025
0fbc639
Head text with GAIA reference
lmichel Feb 22, 2025
14d8741
head text for the physical property section
lmichel Feb 22, 2025
d303cb1
change document date
lmichel Feb 22, 2025
6f5e25f
Merge pull request #78 from lmichel/dataorigin
lmichel Feb 22, 2025
8bca0bc
Merge pull request #80 from lmichel/epochposition-introduction
lmichel Mar 4, 2025
5e9a11f
S_MOC renamed as SMOC, STCS renamed as STC-S, related description
lmichel Mar 6, 2025
dd670db
tips for contributors
lmichel Mar 6, 2025
416171d
Merge pull request #81 from lmichel/shape-serialization
lmichel Mar 13, 2025
1b307b4
Explain the connection of the label with a vocabulary
lmichel Mar 13, 2025
8bbcb5e
update the snippet after the snippet validator (mivot-validator) has
lmichel Mar 13, 2025
321bc0d
Erro classes renamed Error*, Shape renamed as Footprint
lmichel Mar 27, 2025
ebca40c
date updated
lmichel Mar 27, 2025
2cd974e
add data sample
lmichel Mar 27, 2025
57156f7
Merge pull request #82 from lmichel/label-vocabulary
lmichel Apr 3, 2025
e8008aa
Merge pull request #83 from lmichel/ref_implementation
lmichel Apr 3, 2025
3f7454e
error data types renamed as PError*, no more link with meas:Uncertainty
lmichel Apr 3, 2025
0514813
can be string or vocab URI
lmichel Apr 3, 2025
1da2963
cast to PropertyError
lmichel Apr 3, 2025
ec8bcd1
model stuff automatically updated
lmichel Apr 3, 2025
a0e2be1
snippet update
lmichel Apr 3, 2025
ed2ca97
data_sample renamed as implementations
lmichel Apr 3, 2025
db44330
update the implementation doc and files
lmichel Apr 3, 2025
12cf06f
remove references of the associated data in the abstract
lmichel Apr 3, 2025
de5b2ed
doc update
lmichel Apr 3, 2025
6e10d02
generated file
lmichel Apr 3, 2025
6a1eb51
Change abstract class message in snippets
lmichel Apr 3, 2025
10e9564
update ci
lmichel Apr 4, 2025
9d5eb72
fix actions
lmichel Apr 4, 2025
06b898b
fix actions
lmichel Apr 4, 2025
5a3ccd8
Merge branch 'errors-separated-from-meas' of git@github.com:lmichel/M…
lmichel Apr 4, 2025
7ab7d79
fix build
lmichel Apr 4, 2025
ecf9aca
Merge branch 'errors-separated-from-meas' of git@github.com:lmichel/M…
lmichel Apr 4, 2025
6cc4abe
Merge pull request #84 from lmichel/errors-separated-from-meas
lmichel Apr 7, 2025
a98a6de
add epoch package description
lmichel Apr 11, 2025
278e478
TimeInstant defined locally
lmichel Apr 15, 2025
8e1a58b
stop processs on missing description file or any other error
lmichel Apr 18, 2025
ff39256
EpochPosition.epoch as an Epoch(value, representation) type
lmichel Apr 18, 2025
298760a
no more superclass for Brightness.Color
lmichel Apr 18, 2025
61954e8
shouldn't be in the repo
lmichel Apr 18, 2025
a129c95
generated file updated by buildDoc
lmichel Apr 18, 2025
2c08ef6
ignore __pycache__ (not working)
lmichel Apr 18, 2025
3f0314b
try to fix
lmichel Apr 18, 2025
20d71b2
try to fix
lmichel Apr 18, 2025
86853d1
Merge branch 'TimeInstant/Epoch' of git@github.com:lmichel/MANGO.git
lmichel Apr 18, 2025
c266025
Update README.md
lmichel Apr 29, 2025
424538d
Epoch data type renamed as DateTime and EpochPosition.epoch renamed as
lmichel May 4, 2025
8b67780
Merge branch 'TimeInstant/Epoch' of git@github.com:lmichel/MANGO.git …
lmichel May 4, 2025
63453bd
Add Vizier conesearch output as reference implementation.
lmichel May 4, 2025
b9aa838
Add Vizier conesearch output as reference implementation.
lmichel May 4, 2025
8905c06
Merge branch 'TimeInstant/Epoch' of git@github.com:lmichel/MANGO.git …
lmichel May 4, 2025
9d98495
Delete utils/__pycache__ directory
lmichel May 4, 2025
e50b0d5
scories to be thronwn away
lmichel May 4, 2025
5a0a582
Merge branch 'TimeInstant/Epoch' of git@github.com:lmichel/MANGO.git
lmichel May 4, 2025
2ceddbc
Update desc.DateTime.txt - typo
loumir May 5, 2025
ceb43d3
Update desc.epoch.InstantTime.txt typo
loumir May 5, 2025
ccec742
Update desc.epoch.Seconds.date.txt
loumir May 5, 2025
4244ed0
change colors in EpochPosition.png
lmichel May 5, 2025
0a78090
Merge remote-tracking branch 'origin/TimeInstant/Epoch' into TimeInst…
lmichel May 5, 2025
4db22bb
Merge pull request #87 from lmichel/TimeInstant/Epoch
lmichel May 13, 2025
a804c20
restore broken inheritance link of Brightness
lmichel May 19, 2025
ec1d3b7
Merge pull request #88 from lmichel/hotfix
lmichel May 19, 2025
f7db055
correct implementations against the last model evolutions
lmichel May 19, 2025
f7d58df
Merge pull request #89 from lmichel/implementations
lmichel May 19, 2025
7f6407c
Update implementation table in README.md
loumir May 21, 2025
38dfdaf
Merge pull request #90 from ivoa-std/loumir-table_implementation-readme
lmichel May 21, 2025
ccf6905
some correction in annotated datasets
lmichel May 22, 2025
b444ae8
update parameter description following Gilles suggestions
lmichel May 22, 2025
02d8163
Merge branch 'wd-v1.0' into implementations
lmichel May 22, 2025
4b8607a
add missing epoch. Note that coords:spaceSys does not support a standard
lmichel May 22, 2025
a52c346
Merge branch 'implementations' of git@github.com:lmichel/MANGO.git in…
lmichel May 22, 2025
97cfde1
Merge branch 'implementations' of git@github.com:lmichel/MANGO.git into
lmichel May 22, 2025
5301643
fix some VOTable tweaks to pass the validator (namespace, duplcated ID
lmichel May 23, 2025
07175c1
answer to issue #92
lmichel May 23, 2025
1298bed
Merge pull request #91 from lmichel/implementations
lmichel May 23, 2025
40d2d56
Update mango.EpochPosition.xml / typo corrections
loumir May 23, 2025
85da12a
Merge pull request #93 from lmichel/issue-92
lmichel May 26, 2025
676ad57
typo
lmichel May 27, 2025
d7ff737
set doc type to PR
lmichel May 27, 2025
57aa0e9
element description update
lmichel May 27, 2025
c5ee56a
Merge branch 'wd-v1.0' into doc-to-PR
lmichel May 27, 2025
36801db
Update mango.Brightness.xml
loumir May 27, 2025
eb8376b
FB's review
lmichel Jun 2, 2025
a8d251c
Merge pull request #94 from lmichel/doc-to-PR
lmichel Jun 3, 2025
d3aea77
Update preview.yml
lmichel Jun 3, 2025
ea6cdd1
Update README.md
lmichel Jun 3, 2025
59a33e4
Create README.md
lmichel Jun 3, 2025
a46697f
Update README.md
lmichel Jun 3, 2025
efa7f11
Create README.md
lmichel Jun 3, 2025
c451b77
Update README.md
lmichel Jun 3, 2025
5b16930
Update README.md
lmichel Jun 3, 2025
80720a8
merge
lmichel Jun 6, 2025
917e7fd
Merge branch 'doc-to-PR' of github.com:lmichel/MANGO into doc-to-PR
lmichel Jun 6, 2025
0c21dc4
Merge remote-tracking branch 'ivoa/pr-1.0' into string_status
lmichel Jun 6, 2025
dd99f87
set status values as strings
lmichel Jun 6, 2025
bbdd15b
Update README.md
lmichel Jun 19, 2025
b6790fa
FB review
lmichel Jun 20, 2025
0d0839f
Merge pull request #96 from lmichel/string_status
lmichel Jun 20, 2025
6a392e5
Merge pull request #97 from lmichel/FB_Review
lmichel Jun 20, 2025
7f3aca1
cleaanup
lmichel Jun 20, 2025
6e6bbd1
Merge pull request #98 from lmichel/FB_Review
lmichel Jun 20, 2025
b6faf8c
rename and restore
lmichel Aug 7, 2025
df10de9
restored
lmichel Aug 7, 2025
1fee9b3
use primitive types for observation dates
lmichel Aug 7, 2025
7568fbd
minor changes
lmichel Aug 7, 2025
0001052
ignore test resources
lmichel Aug 7, 2025
7f9f7cc
change publication date
lmichel Aug 7, 2025
f97c1b7
replace shape with footprint
lmichel Aug 7, 2025
365439c
section 6.4 8.8: fix enumeration literals formatting
lmichel Dec 10, 2025
aeffde0
section 8.6: BitField was removed from the model but not from the doc…
lmichel Dec 10, 2025
59472c7
section 11.2: mangoCore section removed
lmichel Dec 10, 2025
b2296a8
sections 5.1.1-5.1.6 descriptiion moved before reference to Coords DM
lmichel Dec 10, 2025
1a29081
section 5: split long and confused sentence
lmichel Dec 10, 2025
86451d2
remove date from RSF URLs
lmichel Dec 10, 2025
4967d00
section 2.1.1 more vs most
lmichel Dec 10, 2025
831f062
section 2.1 higher vs upper
lmichel Dec 10, 2025
78cbeb3
section 2.1.7 sentence removed
lmichel Dec 10, 2025
62190e6
line break
lmichel Dec 10, 2025
d04f779
fix class name
lmichel Dec 11, 2025
1d1ecb6
rename cosLatApplied - merge with the DCP review regarding the time s…
lmichel Dec 11, 2025
d88819e
section 2.2 take the proposed phrasing - make clearer (hopefully) the…
lmichel Dec 11, 2025
040e03f
section 3.1.3 clarification of role of MIVOT vs MANGO, clarification …
lmichel Dec 11, 2025
989552f
section 2.1.1 more vs most
lmichel Dec 11, 2025
7277930
line too long, url formatting
lmichel Dec 11, 2025
8dca3e5
section 6: coords citation in it
lmichel Dec 11, 2025
b5ba5dc
Build components updated
lmichel Dec 11, 2025
e25e8a1
trigger pdf update on this branch
lmichel Dec 11, 2025
edda2b7
Merge pull request #100 from lmichel/primitive-datetime
lmichel Dec 18, 2025
a2a903a
Merge branch 'lmichel-apps-review' into pr-1.0
lmichel Dec 18, 2025
98b049f
Merge branch 'primitive-datetime' into apps-review
lmichel Dec 18, 2025
9ffe2bf
compile new version
lmichel Dec 18, 2025
ef2e427
Merge remote-tracking branch 'ivoa/pr-1.0' into apps-review
lmichel Dec 18, 2025
b068b41
Merge pull request #101 from lmichel/apps-review
lmichel Dec 18, 2025
c4bc625
Merge branch 'pr-1.0' of git@github.com:ivoa-std/MANGO.git into pr-1.0
lmichel Dec 18, 2025
9a2187c
First, here are some minor comments (mostly typos):
lmichel Dec 18, 2025
8e83233
DAL review
lmichel Jan 22, 2026
80445b6
trigger ci on dal-review branch
lmichel Jan 22, 2026
362033b
timeSys to TimeSys idem for space
lmichel Jan 22, 2026
43eec0d
typos
lmichel Jan 22, 2026
5417d38
fix DAL comments in #102
lmichel Jan 22, 2026
eebe81e
fix DAL comments in #102
lmichel Jan 22, 2026
ca4089d
Merge branch 'dal-review' of git@github.com:lmichel/MANGO.git into da…
lmichel Jan 22, 2026
dae4adc
Merge pull request #102 from lmichel/dal-review
lmichel Jan 22, 2026
e9ab05d
typos in usecases.tex
bsipocz Jan 28, 2026
f22b91b
Gaia is not all caps
bsipocz Jan 28, 2026
0046daa
Merge pull request #103 from bsipocz/patch-1
lmichel Jan 28, 2026
0d24300
table 1 examples
lmichel Jan 28, 2026
3d2dedf
remove mention of alphabetical order
lmichel Jan 28, 2026
86057c8
trigger on pr-1.0 and brigita_review
lmichel Jan 28, 2026
775dec8
trigger on pr-1.0 and brigita_review
lmichel Jan 28, 2026
77bf9b5
diagram update
lmichel Jan 28, 2026
5eeab8d
Merge branch 'brigita_review' of git@github.com:lmichel/MANGO.git int…
lmichel Jan 28, 2026
f4c1454
set cardinality=1-1 to both mango:EpochPosition.spaceSys and timeSys -
lmichel Jan 28, 2026
426c90d
change date
lmichel Jan 28, 2026
19762cd
Merge branch 'brigita_review' of git@github.com:lmichel/MANGO.git int…
lmichel Jan 28, 2026
3a09d50
update the description of the mangoObjects association
lmichel Jan 28, 2026
7ff19af
Merge pull request #105 from lmichel/brigita_review
lmichel Jan 28, 2026
2276f4a
fix typo detected by registry ( coordsSpaceSys)
lmichel Jan 29, 2026
4636f70
Merge branch 'brigita_review' of git@github.com:lmichel/MANGO.git int…
lmichel Jan 29, 2026
9732e4b
rebuild latex and change dates
lmichel Jan 29, 2026
3440991
Merge pull request #106 from lmichel/brigita_review
lmichel Jan 29, 2026
7039419
Update usecases.tex
SebastienDerriere Feb 25, 2026
9d30e80
Update MANGO.tex
SebastienDerriere Feb 25, 2026
3cf56f7
Merge pull request #109 from SebastienDerriere/patch-3
lmichel Feb 26, 2026
88da280
Merge pull request #108 from SebastienDerriere/patch-5
lmichel Feb 26, 2026
ca6236f
Pname package instead of package Pname in captions
lmichel Feb 26, 2026
d5ca7d0
PR #107 changes moved in the right files
lmichel Feb 26, 2026
86f226b
Build output after PR #107
lmichel Feb 26, 2026
4abdfa5
Merge pull request #110 from lmichel/semantics-review
lmichel Feb 26, 2026
492411d
typo
lmichel Feb 26, 2026
79244b9
Comment on Section 3
lmichel Feb 26, 2026
0f22d75
Generated files updated
lmichel Feb 26, 2026
bb30846
Merge pull request #111 from lmichel/semantics-review
lmichel Feb 26, 2026
4ac4fe7
add types JulianEpoch and BesselianEpoch, rename year as DecimalYear
lmichel Feb 26, 2026
cda7595
correct odsDate with new data types
lmichel Feb 26, 2026
f617669
correct odsDate with new data types
lmichel Feb 26, 2026
359709c
Merge branch 'semantics-review' of git@github.com:lmichel/MANGO.git i…
lmichel Feb 26, 2026
c828e44
remove empty appendix
lmichel Feb 26, 2026
ac3251c
Merge pull request #112 from lmichel/semantics-review
lmichel Feb 26, 2026
f29dfe8
skip snippet generation because of a recursion badly supported
lmichel Mar 4, 2026
c093cc0
MCD review
lmichel Mar 4, 2026
f814e61
trigger on this branch
lmichel Mar 4, 2026
4019236
update build parameters
lmichel Mar 5, 2026
004df90
Merge pull request #113 from lmichel/final-review
lmichel Mar 5, 2026
95d95c3
update mivot snippets
lmichel Mar 6, 2026
d1372f1
force date to 2026/04/29 for the REC
lmichel May 29, 2026
ce4711a
set REC status
lmichel May 29, 2026
499f7ca
Merge pull request #115 from lmichel/final-review
lmichel May 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This file generated from a template file maintained in the ivoatex repository.
# To create and install it into a project repository, do:
# make github-preview
# git commit
# git push
#
name: Check the IVOA document

env:
doc_name: MANGO

defaults:
run:
working-directory: doc

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
build:

runs-on: ubuntu-latest

steps:

- name: Checkout the repository
uses: actions/checkout@v1
with:
submodules: true

- name: Setup dependencies
run: |
sudo apt update
sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended xsltproc latexmk cm-super

- name: Build the document
run: make ${{ env.doc_name }}.pdf

- name: Check the output
run: |
test -f ${{ env.doc_name }}.pdf
test -f ${{ env.doc_name }}.bbl

- name: Keep the PDF artefact
uses: actions/upload-artifact@v4
with:
name: PDF Preview
path: doc/${{ env.doc_name }}.pdf

38 changes: 21 additions & 17 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# This file generated from a template file maintained in the ivoatex repository.
# To create and install it into a project repository, do:
# make github-preview
# git commit
# git push
#
name: Update PDF Preview

defaults:
run:
shell: bash
working-directory: doc

env:
Expand All @@ -11,45 +16,44 @@ env:
on:
push:
branches:
- master
- final-review
- pr-1.0

jobs:
build:

runs-on: ubuntu-latest

steps:

- name: Checkout the repository
uses: actions/checkout@v1
with:
submodules: true

- name: Setup dependencies
run: |
sudo apt update
sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended xsltproc
sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended xsltproc latexmk cm-super
sudo snap install pdftk

- name: Build the document
run: |
make biblio ${{ env.doc_name }}-draft.pdf

run: make ${{ env.doc_name }}-draft.pdf

- name: Check the output
run: |
ls
test -f ${{ env.doc_name }}-draft.pdf
test -f ${{ env.doc_name }}.bbl

- name: Move the auto-pdf-preview tag
uses: weareyipyip/walking-tag-action@v1
uses: weareyipyip/walking-tag-action@v2
with:
TAG_NAME: auto-pdf-preview
TAG_MESSAGE: |
tag-name: auto-pdf-preview
tag-message: |
Last commit taken into account for the automatically updated PDF preview of this IVOA document.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update the PDF preview
uses: Xotl/cool-github-releases@v1
with:
Expand Down
69 changes: 69 additions & 0 deletions .github/workflows/preview.yml.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Update PDF Preview

defaults:
run:
shell: bash
working-directory: doc

env:
doc_name: MANGO

on:
push:
branches:
- master
- wd-v1.0
- draft-0.1

jobs:
build:

runs-on: ubuntu-latest

steps:

- name: Checkout the repository
uses: actions/checkout@v1
with:
submodules: true

- name: Setup dependencies
run: |
sudo apt update
sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended xsltproc latexmk cm-super
sudo snap install pdftk

- name: Build the document
run: |
make forcetex
make ${{ env.doc_name }}-draft.pdf

- name: Check the output
run: |
test -f ${{ env.doc_name }}-draft.pdf
test -f ${{ env.doc_name }}.bbl

- name: Move the auto-pdf-preview tag
uses: weareyipyip/walking-tag-action@v2
with:
tag-name: auto-pdf-preview
tag-message: |
Last commit taken into account for the automatically updated PDF preview of this IVOA document.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update the PDF preview
uses: Xotl/cool-github-releases@v1
with:
mode: update
isPrerelease: true
tag_name: auto-pdf-preview
release_name: "Auto PDF Preview"
body_mrkdwn: |
This release aims to provide a PDF preview of the last commit applied on this repository.
It will be updated automatically after each merge of a PullRequest.
**DO NOT PUBLISH THIS PRE-RELEASE!**"
_Corresponding commit: ${{ github.sha }}_
assets: doc/${{ env.doc_name }}-draft.pdf
replace_assets: true
github_token: ${{ secrets.GITHUB_TOKEN }}
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@
*.fdb_latexmk
*.fls
*.gz
*.pyc
draft-background.*
# Maven
target/

__pycache__
__cache__
# eclipse project file
.settings/
.classpath
Expand All @@ -50,3 +52,11 @@ target/
release.properties
pom.xml.releaseBackup
pom.xml.tag
*.pdf

.pydevproject
*.html

trash/*
exercise*
test-date/*
69 changes: 63 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,69 @@

# At a glance

The MANGO model proposes a flexible way to expose data related to astronomical source objects in an interoperable way.
- It takes into account the huge diversity of source data in terms of feature description, format and usage.
- The MANGO model attaches an identifier on an astronomical source and associates to it all data related : observed physical quantities called parameters in this context, and other information like spectra, time series, preview image, for instance,for that source.
- Parameters usually appear in the columns of a source catalogue. Additionnal dataproducts are bound to the source to contribute to the science analysis and enhance data understanding.
- Parameters are modeled by the IVOA MCT DM reusing both native and extended classes. Parameters' roles are given by UCDs and semantic tags.
- Associated data can be simple URLs, VO service endpoints or VO data model instances. Their roles are also qualified by semantic tags.
The MANGO data model proposes a flexible way to expose data related to astronomical source objects
in an interoperable way. It takes into account the huge diversity of source data in terms of feature description,
format and usage.
- The MANGO model deals with catalog entries, corresponding to astronomical sources or detections
of those and represent them as a MANGO Object class.
- It attaches identifiers on the "MANGO object" class and associates to each one a flexible
set of properties (e.g. observed physical quantities).
- It offers to link other information like detection status, quality annotation, preview images, etc.
Properties may be expressed as several columns of a data table.
MANGO object properties can import classes of the IVOA Measurements
and Coordinates data models.
- It reuses PhotDM
- It proposes its own classes for the quantities that are not covered by the imported models.
- The roles of properties are qualified by semantic tags to provide rich context.

# Document Building

## Repository Folders

- `doc`: contains the Tex files. Do not edit `model.tex` by hand, this file is generated by the document builder.
- `implementations`: contains annotated VOtable implementing most of the model features.
Please read the [note](./impldementations/README.md) to see which model features are covered.
- `model`: UML diagrams edited with Modelio and the XMI file.
- `vo-dml`: all VODML related stuff. Do not edit `desc.mango.vo-dml.xml`, this file is generated by the document builder
- `desc`: contains the text descriptions of all model elements
- `section`: contains the head description for the section added by hand in the model table of content.
- `utils`: contains the scripts used to build the document.
- `mivot`: contains Mivot snippets covering Mango classes that can be reused to build annotations.

## Why such a Complex Workflow?

The process of creating the document is a bit complex due to the following facts:

- The model is maintained with Modelio which does not support any version control.
- It is designed in a way to make sure that the diagrams keep in sync with the UML.
- As the text edition wiyth Modelio is quite painful, it has been decided to store the description
of all model elements in individual files (`vodml/desc`).
- The VODML (without description) is generated by an XSLT
- The transformation of the VODML into Latex is done by another XSLT
- The items of the generated Latex are ordered following the VODML elements order,
this must be corrected to have a consistent table of content

This process is achieved by scripts located in `utils`. Please read this [note](./utils/README.md).
If you want to contribute, please have a look at this workflow or ask the editor.
This will prevent your work to be overridden by some script.

## How to Contribute Anyway

- Install `mivot-validator`in your favorite virtual environment
- Modify the description of some model elements (section 3-11 at the time of writing)
- go into `./vo-dml/desc`
- edit the file you want to update
- go into `utils`
- run `./buildDoc.bash`
- Modify the plain text (section out of 3-11 at the time of writing)
- go into `./doc
- edit `MANGO.tex` or `tap.tex`, those files are never overridden.
- go into `utils`
- run `./buildDoc.bash`
- Modify the model itself
- ask the editor with an issue

If you want to contribute, please have a look at this workflow or ask the editor.

# PDF preview

Expand Down
49 changes: 49 additions & 0 deletions doc/.github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This file generated from a template file maintained in the ivoatex repository.
# To create and install it into a project repository, do:
# make github-preview
# git commit
# git push
#
name: Check the IVOA document

env:
doc_name:

defaults:
run:
working-directory: doc

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
build:

runs-on: ubuntu-latest

steps:

- name: Checkout the repository
uses: actions/checkout@v1
with:
submodules: true

- name: Setup dependencies
run: |
sudo apt update
sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended xsltproc latexmk cm-super

- name: Build the document
run: make

- name: Check the output
run: |
test -f ${{ env.doc_name }}.pdf
test -f ${{ env.doc_name }}.bbl

- name: Keep the PDF artefact
uses: actions/upload-artifact@v1
with:
name: PDF Preview
path: ${{ env.doc_name }}.pdf
Loading
Loading