<commit_before>- apt:
    name={{ item }}
    state=present
    update_cache=yes
    cache_valid_time=7200
  with_items:
    - cmake
    - valac
    - libgtk-3-dev
    - libkeybinder-3.0-dev
    - libxml2-utils
    - gettext
    - txt2man

- command: dpkg-query --show --showformat='${db:Status-Status}\n' peek
  register: peek_absent
  failed_when: false
  changed_when: peek_absent.rc != 0

- git:
    repo=https://github.com/phw/peek.git
    dest=/tmp/peek
  when: peek_absent.changed

- file:
    path=/tmp/peek/build
    state=directory
  when: peek_absent.changed

- shell: '{{ item }}'
  args:
    chdir: /tmp/peek/build
  with_items:
    - cmake -DCMAKE_INSTALL_PREFIX=/usr -DGSETTINGS_COMPILE=OFF ..
    - make package
    - mv peek*.deb peek.deb
  when: peek_absent.changed

- apt:
    deb=/tmp/peek/build/peek.deb
  when: peek_absent.changed

- file:
    path=/tmp/peek
    state=absent
<commit_msg>Peek is now on debian<commit_after>- apt:
    name={{ item }}
    state=present
    update_cache=yes
    cache_valid_time=7200
  with_items:
    - cmake
    - valac
    - libgtk-3-dev
    - libkeybinder-3.0-dev
    - libxml2-utils
    - gettext
    - txt2man

- apt:
    name=peek
    state=present
    update_cache=yes
    cache_valid_time=7200
    default_release=testing

{'fraction_non_alphanumeric': 0.11838006230529595, 'fraction_numerical': 0.01791277258566978, 'mean_word_length': 2.4266666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5551344', 'n_tokens_mistral': 525, 'n_tokens_neox': 497, 'n_words': 85}