Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .github/workflows/winget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,17 @@ jobs:
- name: Publish to WinGet
# Requires WINGET_TOKEN secret in the 'winget' environment.
#
# Setup — create a fine-grained PAT:
# NOTE: fine-grained PATs are NOT supported by this action — use a
# classic PAT only. See https://github.com/vedantmgoyal9/winget-releaser/issues/172
#
# Setup — create a classic PAT:
# 1. GitHub → Settings → Developer settings → Personal access tokens
# → Fine-grained tokens → Generate new token
# 2. Resource owner: DFetch-org
# 3. Repository access: All repositories
# (needed to push the manifest branch to dfetch-org/winget-pkgs)
# 4. Permissions:
# Contents → Read and write
# Pull requests → Read and write
# 5. Store the token as secret WINGET_TOKEN in:
# → Tokens (classic) → Generate new token
# 2. Select scope: public_repo
# 3. The PAT must belong to a GitHub account that has write access to
# dfetch-org/winget-pkgs (i.e. an org member with Triage or higher,
# or the org owner).
Comment thread
spoorcc marked this conversation as resolved.
# 4. Store the token as secret WINGET_TOKEN in:
# Repo → Settings → Environments → winget → Environment secrets
#
# Prerequisites: dfetch-org/winget-pkgs must exist as a fork of
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Release 0.14.3 (unreleased)
Release 0.14.3 (released 2026-06-25)
====================================

* Update ``dfetch environment`` to show newer version inline (`#1310`)
* Update ``dfetch environment`` to show newer version inline (#1310)

Release 0.14.2 (released 2026-06-21)
====================================
Expand Down
2 changes: 1 addition & 1 deletion dfetch/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Dfetch."""

__version__ = "0.14.2"
__version__ = "0.14.3"

DEFAULT_MANIFEST_NAME: str = "dfetch.yaml"
158 changes: 76 additions & 82 deletions doc/asciicasts/add.cast
Original file line number Diff line number Diff line change
@@ -1,82 +1,76 @@
{"version": 2, "width": 229, "height": 35, "timestamp": 1782031624, "env": {"SHELL": "/bin/sh", "TERM": "xterm-256color"}}
[0.661002, "o", "\u001b[H\u001b[2J\u001b[3J"]
[0.665052, "o", "$ "]
[1.668611, "o", "\u001b["]
[1.848903, "o", "1m"]
[1.93908, "o", "ca"]
[2.029244, "o", "t "]
[2.119581, "o", "df"]
[2.209615, "o", "et"]
[2.299785, "o", "ch"]
[2.389942, "o", ".y"]
[2.480048, "o", "am"]
[2.570207, "o", "l\u001b"]
[2.750511, "o", "[0"]
[2.84081, "o", "m"]
[3.842602, "o", "\r\n"]
[3.846663, "o", "manifest:\r\n version: 0.0 # DFetch Module syntax version\r\n\r\n remotes: # declare common sources in one place\r\n - name: github\r\n url-base: https://github.com/\r\n\r\n projects:\r\n - name: cpputest\r\n dst: cpputest/src/ # Destination of this project (relative to this file)\r\n repo-path: cpputest/cpputest.git # Use default github remote\r\n tag: v3.4 # tag\r\n\r\n - name: jsmn # without destination, defaults to project name\r\n repo-path: zserge/jsmn.git # only repo-path is enough\r\n"]
[3.853725, "o", "$ "]
[4.856913, "o", "\u001b["]
[5.038065, "o", "1m"]
[5.128236, "o", "df"]
[5.218371, "o", "et"]
[5.308526, "o", "ch"]
[5.398688, "o", " a"]
[5.488829, "o", "dd"]
[5.57897, "o", " h"]
[5.669134, "o", "tt"]
[5.759284, "o", "ps"]
[5.939681, "o", ":/"]
[6.029812, "o", "/g"]
[6.119956, "o", "it"]
[6.210103, "o", "hu"]
[6.300229, "o", "b."]
[6.390392, "o", "co"]
[6.48055, "o", "m/"]
[6.570683, "o", "df"]
[6.660846, "o", "et"]
[6.841032, "o", "ch"]
[6.931262, "o", "-o"]
[7.021425, "o", "rg"]
[7.111578, "o", "/d"]
[7.201716, "o", "fe"]
[7.29189, "o", "tc"]
[7.382032, "o", "h."]
[7.472177, "o", "gi"]
[7.56296, "o", "t\u001b"]
[7.743232, "o", "[0"]
[7.834151, "o", "m"]
[8.83548, "o", "\r\n"]
[9.388735, "o", "\u001b[1;34mDfetch (0.14.2)\u001b[0m\r\n"]
[9.710214, "o", " \u001b[1;92mhttps://github.com/dfetch-org/dfetch.git:\u001b[0m\r\n"]
[9.71091, "o", " \u001b[1;34m> Adding project to manifest\u001b[0m\r\n"]
[9.711333, "o", " - \u001b[34mname:\u001b[0m dfetch\r\n"]
[9.711855, "o", " \u001b[34mremote:\u001b[0m github\r\n"]
[9.712317, "o", " \u001b[34mbranch:\u001b[0m main\r\n"]
[9.712782, "o", " \u001b[34mrepo-path:\u001b[0m dfetch-org/dfetch.git\r\n"]
[9.71579, "o", " \u001b[1;92mdfetch:\u001b[0m\r\n"]
[9.716309, "o", " \u001b[1;34m> Added 'dfetch' to manifest '/workspaces/dfetch/doc/generate-casts/add/dfetch.yaml'\u001b[0m\r\n"]
[9.822679, "o", "$ "]
[10.826085, "o", "\u001b"]
[11.006437, "o", "[1"]
[11.096586, "o", "mc"]
[11.186731, "o", "at"]
[11.276885, "o", " "]
[11.367041, "o", "df"]
[11.457175, "o", "et"]
[11.547336, "o", "ch"]
[11.637485, "o", ".y"]
[11.727649, "o", "a"]
[11.907954, "o", "ml"]
[11.998098, "o", "\u001b["]
[12.08826, "o", "0m"]
[13.090071, "o", "\r\n"]
[13.09359, "o", "manifest:\r\n version: '0.0' # DFetch Module syntax version\r\n\r\n remotes: # declare common sources in one place\r\n - name: github\r\n url-base: https://github.com/\r\n\r\n projects:\r\n - name: cpputest\r\n dst: cpputest/src/ # Destination of this project (relative to this file)\r\n repo-path: cpputest/cpputest.git # Use default github remote\r\n tag: v3.4 # tag\r\n\r\n - name: jsmn # without destination, defaults to project name\r\n repo-path: zserge/jsmn.git # only repo-path is enough\r\n\r\n - name: dfetch\r\n remote: github\r\n branch: main\r\n repo-path: dfetch-org/dfetch.git\r\n"]
[16.102977, "o", "$ "]
[16.10506, "o", "\u001b"]
[16.285401, "o", "[1"]
[16.375585, "o", "m\u001b"]
[16.465712, "o", "[0"]
[16.555856, "o", "m"]
[16.556527, "o", "\r\n"]
[16.559574, "o", "/workspaces/dfetch/doc/generate-casts\r\n"]
{"version": 2, "width": 116, "height": 28, "timestamp": 1782423490, "env": {"SHELL": "/bin/sh", "TERM": "xterm-256color"}}
[0.612523, "o", "\u001b[H\u001b[2J\u001b[3J"]
[0.619178, "o", "$ "]
[1.622428, "o", "\u001b["]
[1.802695, "o", "1m"]
[1.892816, "o", "ca"]
[1.983023, "o", "t "]
[2.073165, "o", "dfe"]
[2.163304, "o", "tc"]
[2.253426, "o", "h."]
[2.343555, "o", "ya"]
[2.433695, "o", "ml"]
[2.523848, "o", "\u001b[0"]
[2.705758, "o", "m"]
[3.705961, "o", "\r\n"]
[3.708728, "o", "manifest:\r\n version: 0.0 # DFetch Module syntax version\r\n\r\n remotes: # declare common sources in one place\r\n - name: github\r\n url-base: https://github.com/\r\n\r\n projects:\r\n - name: cpputest\r\n dst: cpputest/src/ # Destination of this project (relative to this file)\r\n repo-path: cpputest/cpputest.git # Use default github remote\r\n tag: v3.4 # tag\r\n\r\n - name: jsmn # without destination, defaults to project name\r\n repo-path: zserge/jsmn.git # only repo-path is enough\r\n"]
[3.714111, "o", "$ "]
[4.717164, "o", "\u001b["]
[4.897491, "o", "1m"]
[4.987633, "o", "df"]
[5.077775, "o", "et"]
[5.171184, "o", "ch "]
[5.261115, "o", "ad"]
[5.351236, "o", "d "]
[5.441385, "o", "ht"]
[5.531506, "o", "tp"]
[5.621644, "o", "s:/"]
[5.801897, "o", "/g"]
[5.892051, "o", "it"]
[5.982168, "o", "hu"]
[6.072335, "o", "b."]
[6.162503, "o", "com"]
[6.25263, "o", "/d"]
[6.342762, "o", "fe"]
[6.43289, "o", "tc"]
[6.523038, "o", "h-"]
[6.70327, "o", "org"]
[6.793413, "o", "/d"]
[6.883534, "o", "fe"]
[6.973677, "o", "tc"]
[7.063831, "o", "h."]
[7.153978, "o", "git"]
[7.244095, "o", "\u001b["]
[7.334213, "o", "0m"]
[8.335911, "o", "\r\n"]
[8.973992, "o", "\u001b[1;34mDfetch (0.14.3)\u001b[0m\r\n"]
[9.351317, "o", " \u001b[1;92mhttps://github.com/dfetch-org/dfetch.git:\u001b[0m\r\n"]
[9.351881, "o", " \u001b[1;34m> Adding project to manifest\u001b[0m\r\n"]
[9.352447, "o", " - \u001b[34mname:\u001b[0m dfetch\r\n"]
[9.352967, "o", " \u001b[34mremote:\u001b[0m github\r\n"]
[9.353448, "o", " \u001b[34mbranch:\u001b[0m main\r\n"]
[9.353915, "o", " \u001b[34mrepo-path:\u001b[0m dfetch-org/dfetch.git\r\n"]
[9.356728, "o", " \u001b[1;92mdfetch:\u001b[0m\r\n"]
[9.357559, "o", " \u001b[1;34m> Added 'dfetch' to manifest '/workspaces/dfetch/doc/generate-casts/add/dfetch.yaml'\u001b[0m\r\n"]
[9.428524, "o", "$ "]
[10.431307, "o", "\u001b["]
[10.612048, "o", "1m"]
[10.702197, "o", "ca"]
[10.792325, "o", "t "]
[10.882512, "o", "df"]
[10.974688, "o", "et"]
[11.064208, "o", "ch"]
[11.154329, "o", ".y"]
[11.244473, "o", "am"]
[11.334595, "o", "l\u001b"]
[11.514846, "o", "[0m"]
[12.516396, "o", "\r\n"]
[12.519515, "o", "manifest:\r\n version: '0.0' # DFetch Module syntax version\r\n\r\n remotes: # declare common sources in one place\r\n - name: github\r\n url-base: https://github.com/\r\n\r\n projects:\r\n - name: cpputest\r\n dst: cpputest/src/ # Destination of this project (relative to this file)\r\n repo-path: cpputest/cpputest.git # Use default github remote\r\n tag: v3.4 # tag\r\n\r\n - name: jsmn # without destination, defaults to project name\r\n repo-path: zserge/jsmn.git # only repo-path is enough\r\n\r\n - name: dfetch\r\n remote: github\r\n branch: main\r\n repo-path: dfetch-org/dfetch.git\r\n"]
[15.528316, "o", "$ "]
[15.530209, "o", "\u001b"]
[15.710505, "o", "[1"]
[15.800627, "o", "m\u001b"]
[15.892873, "o", "[0"]
[15.982999, "o", "m"]
[15.983525, "o", "\r\n"]
[15.98647, "o", "/workspaces/dfetch/doc/generate-casts\r\n"]
Loading
Loading