Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://gitlab.com/hatiers/lstclean.git
02 March 2023, 09:39:01 UTC
  • Code
  • Branches (5)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/fonctions
    • refs/heads/master
    • refs/heads/varnish
    • refs/merge-requests/1/head
    • refs/merge-requests/1/merge
    • a74862fb741564a88fa4ad4651965c0362c50e30
    No releases to show
  • c941a61
  • /
  • README.md
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:854bb469debc4582cfe2122b430f6c2137f7fd32
origin badgedirectory badge
swh:1:dir:c941a616c6677ef7aed97eebf3d2b562c84226d6
origin badgerevision badge
swh:1:rev:a74862fb741564a88fa4ad4651965c0362c50e30
origin badgesnapshot badge
swh:1:snp:bf8e310d00b315fbed5c372ec61a9abd70644e96

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: a74862fb741564a88fa4ad4651965c0362c50e30 authored by arnaudbey on 01 March 2023, 15:58:44 UTC
WIP
Tip revision: a74862f
README.md
# LST

## Installation
* `git clone`
* Lancer `make init`
  * définir les ports apache et adminer ainsi que le mot de passe root mysql, un nom de db, un utilisateur et mot de passe mysql
  * reporter ces valeurs dans le `.env` de Symfony. L'application devrait être dispo sur `localhost:XXX` où `XXX` est le port défini pour apache.


## Données / import
* Données dans `application/data`

* Import via les commandes
  * `php bin/console app:import-csv` (option `emptydb` pour vider la base)
  * `php bin/console app:import-article`
  * `php bin/console app:create-language chinois cn chinese`
  * `php bin/console app:import-csv-trad cn`
  * `php bin/console app:import-fonction`
  * `php bin/console app:import-fonction-collocations`

## Cache
Il y a du cache. Relancer les containers dockers suffit à l'invalider. (voir `application/src/Manager/CacheManager.php`)

```
docker-compose stop
docker-compose up -d
```

## Administration
* Commande pour donner les droits à un utilisateurs : `php bin/console app:toggleadmin <mail>`


## Divers
* Dans doctrine/adminer l'objet lexical_entry a une propriété acceptionUniq du type
  Si LEMMA = introduction_2 et N = N
  Alors acceptionUniq = introduction_N_2
  Si LEMMA = avérer_REFL_1 et N = V
  Alors acceptionUniq = avérer_V_REFL_1

* Routine perl (voir `xml-perl-transform/`) pour reconstruire les id (lemma), ajouter attribut 'acceptionUniq' et supprimer les attributs DEF CS SCS -
```
  <text>
         <front>
             <head><LST CAT="N" TYPE="MONO" LEMMA="approche"
                     DEF="Voie souvent hésitante par laquelle on cherche à cerner un problème complexe\."
                     CS="objet_scientifique" SCS="méthode">Approche</LST> linguistique pour
                     <lb/>l'<LST CAT="N" TYPE="MONO" LEMMA="analyse"
                     DEF="Décomposition en éléments\." CS="processus_cognitif" SCS="examen"
                     TERME="OUI">analyse</LST> syntaxique de corpus</head>
             <docAuthor>
```

## Licence
GNU GENERAL PUBLIC LICENSE V3 (voir le [Guide rapide de la GPLv3](https://www.gnu.org/licenses/quick-guide-gplv3.html))

## Auteurs du code
* Arnaud Bey
* Sylvain Hatier

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API