<commit_before>name: phockup
version: '1.3.0'
summary: Photo and video sorting tool
description: |
  Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
  The software will collect all files from the input directory and copy them to the output directory without
  changing the files content. It will only rename the files and place them in the proper directory for year, month and day.

confinement: strict
architectures: [amd64]
grade: stable

apps:
  phockup:
    command: phockup.sh
    plugs: [home]

parts:
  files:
    plugin: dump
    source: .
    organize:
      phockup.py: lib/phockup/phockup.py
      license: lib/phockup/license
    after: [integration, source]

  source:
    source: https://github.com/ivandokov/phockup.git
    source-tag: $SNAPCRAFT_PROJECT_VERSION
    plugin: python

  integration:
    plugin: nil
    stage-packages:
      - locales-all
      - libimage-exiftool-perl
      - libc-bin<commit_msg>Fixed snap problem when executing the script. Changed source of "source" part to be local files instead of github release<commit_after>name: phockup
version: '1.3.0'
summary: Photo and video sorting tool
description: |
  Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
  The software will collect all files from the input directory and copy them to the output directory without
  changing the files content. It will only rename the files and place them in the proper directory for year, month and day.

confinement: strict
architectures: [amd64]
grade: stable

apps:
  phockup:
    command: env LC_ALL=C.UTF-8 LANG=C.UTF-8 $SNAP/phockup.sh
    plugs: [home]

parts:
  files:
    plugin: dump
    source: .
    organize:
      phockup.py: lib/phockup/phockup.py
      license: lib/phockup/license
    after: [integration, source]

  source:
    source: .
    plugin: python

  integration:
    plugin: nil
    stage-packages:
      - locales-all
      - libimage-exiftool-perl
      - libc-bin
{'fraction_non_alphanumeric': 0.07107601184600197, 'fraction_numerical': 0.005923000987166831, 'mean_word_length': 3.196687370600414, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2171138', 'n_tokens_mistral': 631, 'n_tokens_neox': 607, 'n_words': 234}