tis-openrefine icon

OpenRefine

Silent install package for OpenRefine

3.10.1-1

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-openrefine
  • name: OpenRefine
  • version: 3.10.1-1
  • maintainer: Jordan ARNAUD
  • licence: BSD 3-Clause "New" or "Revised" License
  • target_os: debian_based
  • architecture: x64
  • signature_date:
  • size: 148.78 Mo
  • homepage : https://openrefine.org/

package           : tis-openrefine
version           : 3.10.1-1
architecture      : x64
section           : base
priority          : optional
name              : OpenRefine
categories        : 
maintainer        : Jordan ARNAUD
description       : OpenRefine (previously Google Refine) is a Java-based power tool for working with messy data: cleaning it; transforming it from one format into another; and extending it with web services and external data
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : debian_based
min_wapt_version  : 
sources           : https://github.com/OpenRefine/OpenRefine/releases
installed_size    : 
impacted_process  : 
description_fr    : OpenRefine (anciennement Google Refine) est un outil puissant basé sur Java pour travailler avec des onnées désordonnées : les nettoyer, les transformer d'un format à un autre et les étendre avec des services web et des données externes
description_pl    : OpenRefine (wcześniej Google Refine) to oparte na Javie narzędzie do pracy z nieuporządkowanymi danymi: ich czyszczenia, przekształcania z jednego formatu na inny oraz rozszerzania o usługi sieciowe i dane zewnętrzne
description_de    : OpenRefine (ehemals Google Refine) ist ein Java-basiertes Power-Tool für die Arbeit mit unordentlichen Daten: Bereinigung, Umwandlung von einem Format in ein anderes und Erweiterung um Webdienste und externe Daten
description_es    : OpenRefine (antes Google Refine) es una potente herramienta basada en Java para trabajar con datos desordenados: limpiarlos, transformarlos de un formato a otro y ampliarlos con servicios web y datos externos
description_pt    : O OpenRefine (anteriormente Google Refine) é uma ferramenta poderosa baseada em Java para trabalhar com dados confusos: limpá-los, transformá-los de um formato para outro e ampliá-los com serviços Web e dados externos
description_it    : OpenRefine (precedentemente Google Refine) è un potente strumento basato su Java per lavorare con dati disordinati: pulirli, trasformarli da un formato all'altro ed estenderli con servizi web e dati esterni
description_nl    : OpenRefine (voorheen Google Refine) is een op Java gebaseerde krachtige tool voor het werken met rommelige gegevens: opschonen, transformeren van het ene formaat naar het andere en uitbreiden met webservices en externe gegevens
description_ru    : OpenRefine (ранее Google Refine) - это мощный инструмент на базе Java для работы с грязными данными: их очистки, преобразования из одного формата в другой и расширения с помощью веб-сервисов и внешних данных
audit_schedule    : 
editor            : 
keywords          : 
licence           : BSD 3-Clause "New" or "Revised" License
homepage          : https://openrefine.org/
package_uuid      : 481bb210-0a2d-4cbd-912f-3c65559e3dce
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 8b7b6f5ff2141ec5d9fc6230fdb53fb9406f0e29f27ea6777d806d9a50fde7b7
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-03-04T22:24:37.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : YO20Jo3sy8GSbNL9Lh/OvTrtUN/VGdOFHZPsHl4L18+zV43CtF7LE+Pm4ffjnY8H4cuGEGwvP5SLierjp1m2ae0WGqvR3i/GrSvAoPGhJ53I6w4U7PpCMiAh9rqxsLnDed3IQ4RxVeZvJTpj2dy876ebutgAuAvG/ti8Xoc4xl1jvDpk3HL+CWPsOJU2r8xs7er1sQL5Tem+uPHxxrtc0c/0a0Qjj84hoPbqk0rmYkZsIjydRIrIbG1M0uGVzZRscm1yO0D4R0x7TaHKonhCXcZtXGRysfA/0FseDvM/O8kiI+XEQsKWlgbZgZWfaVZUdfsEc6r8QA12nZlFsEXzHw==

# -*- coding: utf-8 -*-
from setuphelpers import *

bin_path = makepath("/", "usr", "local", "bin")
app_path = "/opt/openrefine"


def install():
    version = control.version.split('-')[0]

    # Extraction and copying to /opt/openrefine
    extract_path = glob.glob("*.tar.gz")[0]
    run(f"tar -xzvf {extract_path}")
    bin_name = glob.glob(f"openrefine-{version}")[0]
    print(f"copying openrefine to {app_path}")
    if not isdir(app_path):
        mkdirs(app_path)
    copytree2(bin_name, app_path)
    
    # Creation symlink
    symlink_path = f"{bin_path}/openrefine"
    if isfile(symlink_path) or os.path.islink(symlink_path):
        print("Symlink already exists, removing it")
        os.remove(symlink_path)
    
    print("create openrefine alias in path")
    os.symlink(f"{app_path}/openrefine", symlink_path)
    
    if isdir(extract_path):
        remove_tree(extract_path)

    

def uninstall():
    # Removing of symlink
    if isfile(f"{bin_path}/openrefine"):
        remove_file(f"{bin_path}/openrefine")
    # Removing of the software 
    if isdir(app_path):
        remove_tree(app_path)

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()
   
    git_repo = "OpenRefine/OpenRefine"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo   
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.tar.gz'):
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"]
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        print(f'Downloading ' + filename)
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.tar.gz'):
        if f != filename:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
05f705fc0483d50ef37fb64ad3b6734d7ebcbad3a6b4ee8774641cdbafbf89ef : WAPT/control
8b7b6f5ff2141ec5d9fc6230fdb53fb9406f0e29f27ea6777d806d9a50fde7b7 : WAPT/icon.png
7af515e752fe3f788e5cdfa6f0e7996df42761a0bca34ccb7406882f3f2e6775 : luti.json
806e38e415fa98c2dee400de575992514557a4e37e82c670b7cd2e34d667c4ba : openrefine-linux-3.10.1.tar.gz
1aa930786e8560505ea99ce0997f2e9a9ebec9494af14fb5972fe0e8e6467c7d : setup.py
6c4542794e53901d83d02fd13dfa498b96c468b8fe70ea188387af2c60fbcf84 : update_package.py