Skip to content

ReteGet 0.3.2

Choose a tag to compare

@rubidus-api rubidus-api released this 24 Sep 17:34
· 26 commits to main since this release

ReteGet 0.3.2 — export and import settings

  • Export (beside Saved Presets) writes all settings — the presets, the options, and the signing keys seen for each app — to reteget-settings-<date>.ini in the Download folder, and can copy the same text to the clipboard.
  • Import reads such a file (the newest are listed first) or the clipboard, shows how many presets are new or changed, and merges them: presets are matched by URL, presets that exist only on this phone stay, and a signing key already recorded on this phone is never replaced by one from a file.
  • The file is plain text in the rete family's settings format — the subset of INI and TOML that both read with the same meaning — so it can be read and edited by hand. A hand-edited file is read forgivingly (quotes left out, ; comments, : instead of =, different case), and any line that cannot be understood is listed before anything is changed.

Checked on the Android 2.3.7 emulator (export to a file and to the clipboard, delete a preset, import it back); 246 unit tests pass, and a written file was checked with a TOML parser and an INI parser.

APK: reteget-0.3.2.apk, 172,530 bytes, SHA-256 a5f8f3a4aab83f171f5b87f70ecbcb23ef00004d26598177eb35b6af7204dd04. Same signing key as earlier releases.


ReteGet 0.3.2 — 설정 내보내기·가져오기

  • Saved Presets 옆의 Export는 모든 설정(프리셋, 옵션, 앱별로 본 서명 키)을 다운로드 폴더의 reteget-settings-<날짜>.ini에 쓰고, 같은 내용을 클립보드로 복사할 수도 있습니다.
  • Import는 그런 파일(최신 것이 먼저 나옴)이나 클립보드를 읽어 새 프리셋과 바뀐 프리셋이 몇 개인지 보여 준 뒤 병합합니다: 프리셋은 주소로 맞추고, 이 폰에만 있는 프리셋은 남으며, 이 폰에 이미 기록된 서명 키는 파일에 있는 것으로 바뀌지 않습니다.
  • 파일은 rete 시리즈의 설정 형식(INI와 TOML이 같은 뜻으로 읽는 부분집합)의 평문이라 사람이 읽고 고칠 수 있습니다. 손으로 고친 파일도 너그럽게 읽고(따옴표 생략, ; 주석, = 대신 :, 대소문자), 이해하지 못한 줄은 적용하기 전에 목록으로 보여 줍니다.

안드로이드 2.3.7 에뮬레이터에서 확인했습니다(파일·클립보드로 내보내기, 프리셋 삭제 후 다시 가져오기). 단위 시험 246개가 통과하고, 쓴 파일을 TOML 파서와 INI 파서로 검증했습니다.