7
0
mirror of https://github.com/marado/RNID.git synced 2025-04-12 20:39:31 +00:00

novo incumprimento: anqep - catálogo nacional de qualificações

Falta: pedir resolução do incumprimento
PS: o github é um penico!

Closes: 
This commit is contained in:
Marcos Marado 2025-03-29 17:48:12 +00:00
parent 1ddc5f60ea
commit 5cbc97b49b
4 changed files with 41 additions and 0 deletions

View File

@ -34,6 +34,7 @@ jobs:
"${GITHUB_WORKSPACE}/scripts/51-dgeg.sh"
"${GITHUB_WORKSPACE}/scripts/53-sg-pcm-gov.sh"
"${GITHUB_WORKSPACE}/scripts/54-rtp.sh"
"${GITHUB_WORKSPACE}/scripts/55-anqep.sh"
- name: Commit file(s)
run: |

View File

@ -39,6 +39,7 @@ Esta tabela mostra casos de incumprimento do regulamento:
| https://covid19.min-saude.pt | Documentos em .xlsx | [página com documentos em formato XLSX, sem outra alternativa](https://covid19.min-saude.pt/numero-de-novos-casos-e-obitos-por-dia/) | 2025/03/29 | |
| https://www.sg.pcm.gov.pt/ | Documentos em .docx | [Todos os documentos necessários ao pedido de Estatuto de Utilidade Pública estão em .docx](https://www.sg.pcm.gov.pt/servicos/fundacoes-e-entidades-de-utilidade-publica/) | 2025/03/29 | |
| https://www.rtp.pt/play/ | DRM | [transmissões em directo com DRM](https://www.rtp.pt/play/direto/rtp1) | 2025/03/29 | 2022/08/25 |
| https://catalogo.anqep.gov.pt | XLS | [Resultado das pesquisas em .xls](https://catalogo.anqep.gov.pt/ufcdPesquisa) (carregando em "descarregar listagem") | 2025/03/29 | |
Este [template](template.txt) é utilizado pela ANSOL e pela Comunidade LibreOffice Portugal para enviar um pedido de resolução do problema.

17
scripts/55-anqep.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
# ufcdPesquisa (HTML) includes a few javascripts, including two main-es*5.*js , which are the ones that show that we're getting XLS results
# As long as those two imports remain the same, so does the RNID violation...
wget https://catalogo.anqep.gov.pt/ufcdPesquisa -o /dev/null
if [ ! "$(diff ufcdPesquisa scripts/55/ufcdPesquisa|wc -l)" -eq "0" ]; then
echo "anqep: incumprimento pode já não existir";
else
echo "anqep: Incumprimento mantém-se, a actualizar o README (faça um git diff, valide, e commit!)";
while IFS='' read -r line || [[ -n "$line" ]]; do
test "$(echo "$line"|grep -v -c "anqep")" -eq "1" \
&& echo "$line" \
|| (h=$(echo "$line"|cut -d\| -f1-4); t=$(echo "$line"|cut -d\| -f6-); nc=$(echo "$line"|cut -d\| -f5 | wc -m); printf "%s| %-$((nc-2))s|%s\n" "$h" "$(date +%Y/%m/%d)" "$t");
done < README.md > new
mv new README.md
fi

22
scripts/55/ufcdPesquisa Normal file
View File

@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Catálogo Nacional de Qualificações</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="assets/images/favicon.ico">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-20335091-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
</script>
<link rel="stylesheet" href="/styles.8719197583c4070f192c.css"></head>
<body>
<app-root></app-root>
<script src="/runtime-es2015.c03ee15803d8540ec81a.js" type="module"></script><script src="/polyfills-es2015.9aaba84b721d907ae919.js" type="module"></script><script src="/runtime-es5.ce6326d9b6aeea6dbead.js" nomodule defer></script><script src="/polyfills-es5.9c4d86ba7d3fe6df1ecc.js" nomodule defer></script><script src="/scripts.568be36f95a3f46cdfc9.js" defer></script><script src="/main-es2015.b744f00cc7c082df350a.js" type="module"></script><script src="/main-es5.0224e1e0cfd366104148.js" nomodule defer></script></body>
</html>