Skip to content

Instantly share code, notes, and snippets.

@NickETH
Created April 24, 2022 16:11
Show Gist options
  • Save NickETH/d99ce98224e01189cc893995bce59762 to your computer and use it in GitHub Desktop.
Save NickETH/d99ce98224e01189cc893995bce59762 to your computer and use it in GitHub Desktop.
autopkg.py run -vvv Git-Win64.download.recipe
Processing Git-Win64.download.recipe...
{'7ZIP_PATH': 'C:\\Program Files\\7-Zip\\7z.exe',
'AUTOPKG_DIR': 'C:\\Tools\\AutoPkg',
'AUTOPKG_VERSION': '2.4.1',
'BUILD_DIR': 'C:\\AutoPkg\\Build',
'CACHE_DIR': 'C:\\AutoPkg\\Cache',
'CURL_PATH': 'C:\\Program Files\\Git\\mingw64\\bin\\curl.exe',
'DTF_PATH': 'C:\\Program Files (x86)\\WiX Toolset v3.14\\SDK',
'GIT_PATH': 'C:\\Program Files\\Git\\bin\\git.exe',
'NAME': 'Git',
'NANT_PATH': 'C:\\Tools\\nant-0.92\\bin\\NAnt.exe',
'PARENT_RECIPES': [],
'RECIPE_CACHE_DIR': 'C:\\AutoPkg\\Cache\\com.github.autopkg-win.download.Git-Win64',
'RECIPE_DIR': 'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win\\Github',
'RECIPE_OVERRIDE_DIRS': ['C:\\AutoPkg\\RecipeOverrides'],
'RECIPE_PATH': 'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win\\Github\\Git-Win64.download.recipe',
'RECIPE_REPOS': {'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win': {'URL': 'https://github.com/NickETH/recipes-win'},
'C:\\AutoPKG\\RecipeRepos\\com.github.autopkg.sebtomasi-recipes': {'URL': 'https://github.com/autopkg/sebtomasi-recipes'},
'RECIPE_REPO_DIR': 'C:\\AutoPKG\\RecipeRepos',
'RECIPE_SEARCH_DIRS': ['.',
'%APPDATA%\\AutoPkg\\Recipes',
'%ALLUSERSPROFILE%\\AutoPkg\\Recipes',
'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win',
'C:\\AutoPKG\\RecipeRepos\\com.github.autopkg.sebtomasi-recipes'],
'TOOLS_DIR': 'C:\\Tools\\MSITools',
'verbose': 3}
GitHubReleasesInfoProvider
{'Input': {'CURL_PATH': 'C:\\Program Files\\Git\\mingw64\\bin\\curl.exe',
'asset_regex': 'Git-[0-9\\.]+-64-bit\\.exe',
'github_repo': 'git-for-windows/git'}}
GitHubReleasesInfoProvider: No value supplied for GITHUB_URL, setting default value of: https://api.github.com
GitHubReleasesInfoProvider: No value supplied for GITHUB_TOKEN_PATH, setting default value of: ~/.autopkg_gh_token
GitHubReleasesInfoProvider: Matched regex 'Git-[0-9\.]+-64-bit\.exe' among asset(s): Git-2.36.0-32-bit.exe, Git-2.36.0-32-bit.tar.bz2, Git-2.36.0-64-bit.exe, Git-2.36.0-64-bit.tar.bz2, MinGit-2.36.0-32-bit.zip, MinGit-2.36.0-64-bit.zip, MinGit-2.36.0-busybox-32-bit.zip, MinGit-2.36.0-busybox-64-bit.zip, pdbs-for-git-32-bit-2.36.0.1.ea1e13f733-1.zip, pdbs-for-git-64-bit-2.36.0.1.ea1e13f733-1.zip, PortableGit-2.36.0-32-bit.7z.exe, PortableGit-2.36.0-64-bit.7z.exe
GitHubReleasesInfoProvider: Selected asset 'Git-2.36.0-64-bit.exe' from release 'Git for Windows 2.36.0'
{'Output': {'asset_url': 'https://api.github.com/repos/git-for-windows/git/releases/assets/63118526',
'url': 'https://github.com/git-for-windows/git/releases/download/v2.36.0.windows.1/Git-2.36.0-64-bit.exe',
'version': '2.36.0.windows.1'}}
URLDownloader
{'Input': {'filename': 'Git-x64.exe',
'url': 'https://github.com/git-for-windows/git/releases/download/v2.36.0.windows.1/Git-2.36.0-64-bit.exe'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Storing new Last-Modified header: Wed, 20 Apr 2022 15:22:48 GMT
URLDownloader: Storing new ETag header: "0x8DA22E1A06F53FC"
URLDownloader: Downloaded C:\AutoPkg\Cache\com.github.autopkg-win.download.Git-Win64\downloads\Git-x64.exe
{'Output': {'download_changed': True,
'etag': '"0x8DA22E1A06F53FC"',
'last_modified': 'Wed, 20 Apr 2022 15:22:48 GMT',
'pathname': 'C:\\AutoPkg\\Cache\\com.github.autopkg-win.download.Git-Win64\\downloads\\Git-x64.exe',
'url_downloader_summary_result': {'data': {'download_path': 'C:\\AutoPkg\\Cache\\com.github.autopkg-win.download.Git-Win64\\downloads\\Git-x64.exe'},
'summary_text': 'The following '
'new items were '
'downloaded:'}}}
StopProcessingIf
{'Input': {'predicate': 'download_changed == False'}}
StopProcessingIf: (download_changed == False) is False
{'Output': {}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
{'7ZIP_PATH': 'C:\\Program Files\\7-Zip\\7z.exe',
'AUTOPKG_DIR': 'C:\\Tools\\AutoPkg',
'AUTOPKG_VERSION': '2.4.1',
'BUILD_DIR': 'C:\\AutoPkg\\Build',
'CACHE_DIR': 'C:\\AutoPkg\\Cache',
'CHECK_FILESIZE_ONLY': False,
'CURL_PATH': 'C:\\Program Files\\Git\\mingw64\\bin\\curl.exe',
'DTF_PATH': 'C:\\Program Files (x86)\\WiX Toolset v3.14\\SDK',
'GITHUB_TOKEN_PATH': '~/.autopkg_gh_token',
'GITHUB_URL': 'https://api.github.com',
'GIT_PATH': 'C:\\Program Files\\Git\\bin\\git.exe',
'NAME': 'Git',
'NANT_PATH': 'C:\\Tools\\nant-0.92\\bin\\NAnt.exe',
'PARENT_RECIPES': [],
'RECIPE_CACHE_DIR': 'C:\\AutoPkg\\Cache\\com.github.autopkg-win.download.Git-Win64',
'RECIPE_DIR': 'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win\\Github',
'RECIPE_OVERRIDE_DIRS': ['C:\\AutoPkg\\RecipeOverrides'],
'RECIPE_PATH': 'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win\\Github\\Git-Win64.download.recipe',
'RECIPE_REPOS': {'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win': {'URL': 'https://github.com/NickETH/recipes-win'},
'C:\\AutoPKG\\RecipeRepos\\com.github.autopkg.sebtomasi-recipes': {'URL': 'https://github.com/autopkg/sebtomasi-recipes'}},
'RECIPE_REPO_DIR': 'C:\\AutoPKG\\RecipeRepos',
'RECIPE_SEARCH_DIRS': ['.',
'%APPDATA%\\AutoPkg\\Recipes',
'%ALLUSERSPROFILE%\\AutoPkg\\Recipes',
'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win',
'C:\\AutoPKG\\RecipeRepos\\com.github.autopkg.sebtomasi-recipes'],
'TOOLS_DIR': 'C:\\Tools\\MSITools',
'asset_regex': 'Git-[0-9\\.]+-64-bit\\.exe',
'asset_url': 'https://api.github.com/repos/git-for-windows/git/releases/assets/63118526',
'download_changed': True,
'etag': '"0x8DA22E1A06F53FC"',
'filename': 'Git-x64.exe',
'github_repo': 'git-for-windows/git',
'last_modified': 'Wed, 20 Apr 2022 15:22:48 GMT',
'pathname': 'C:\\AutoPkg\\Cache\\com.github.autopkg-win.download.Git-Win64\\downloads\\Git-x64.exe',
'predicate': 'download_changed == False',
'prefetch_filename': False,
'release_notes': 'Changes since Git for Windows v2.35.3 (April 15th 2022)\n'
'6db2399c943ca74ca72884dff1524c6c14f3f16dbd1f139719e62f6d89f0254a',
'stop_processing_recipe': False,
'url': 'https://github.com/git-for-windows/git/releases/download/v2.36.0.windows.1/Git-2.36.0-64-bit.exe',
'url_downloader_summary_result': {'data': {'download_path': 'C:\\AutoPkg\\Cache\\com.github.autopkg-win.download.Git-Win64\\downloads\\Git-x64.exe'},
'summary_text': 'The following new items '
'were downloaded:'},
'verbose': 3,
'version': '2.36.0.windows.1'}
Receipt written to C:\AutoPkg\Cache\com.github.autopkg-win.download.Git-Win64\receipts\Git-Win64.download-receipt-20220424-171753.plist
The following new items were downloaded:
Download Path
-------------
C:\AutoPkg\Cache\com.github.autopkg-win.download.Git-Win64\downloads\Git-x64.exe
autopkg.py run -vvv Git-Win64.download.recipe
Processing Git-Win64.download.recipe...
{'7ZIP_PATH': 'C:\\Program Files\\7-Zip\\7z.exe',
'AUTOPKG_DIR': 'C:\\Tools\\AutoPkg',
'AUTOPKG_VERSION': '2.4.1',
'BUILD_DIR': 'C:\\AutoPkg\\Build',
'CACHE_DIR': 'C:\\AutoPkg\\Cache',
'CURL_PATH': 'C:\\Program Files\\Git\\mingw64\\bin\\curl.exe',
'DTF_PATH': 'C:\\Program Files (x86)\\WiX Toolset v3.14\\SDK',
'GIT_PATH': 'C:\\Program Files\\Git\\bin\\git.exe',
'NAME': 'Git',
'NANT_PATH': 'C:\\Tools\\nant-0.92\\bin\\NAnt.exe',
'PARENT_RECIPES': [],
'RECIPE_CACHE_DIR': 'C:\\AutoPkg\\Cache\\com.github.autopkg-win.download.Git-Win64',
'RECIPE_DIR': 'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win\\Github',
'RECIPE_OVERRIDE_DIRS': ['C:\\AutoPkg\\RecipeOverrides'],
'RECIPE_PATH': 'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win\\Github\\Git-Win64.download.recipe',
'RECIPE_REPOS': {'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win': {'URL': 'https://github.com/NickETH/recipes-win'},
'C:\\AutoPKG\\RecipeRepos\\com.github.autopkg.sebtomasi-recipes': {'URL': 'https://github.com/autopkg/sebtomasi-recipes'}},
'RECIPE_REPO_DIR': 'C:\\AutoPKG\\RecipeRepos',
'RECIPE_SEARCH_DIRS': ['.',
'%APPDATA%\\AutoPkg\\Recipes',
'%ALLUSERSPROFILE%\\AutoPkg\\Recipes',
'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win',
'C:\\AutoPKG\\RecipeRepos\\com.github.autopkg.sebtomasi-recipes'],
'TOOLS_DIR': 'C:\\Tools\\MSITools',
'verbose': 3}
GitHubReleasesInfoProvider
{'Input': {'CURL_PATH': 'C:\\Program Files\\Git\\mingw64\\bin\\curl.exe',
'asset_regex': 'Git-[0-9\\.]+-64-bit\\.exe',
'github_repo': 'git-for-windows/git'}}
GitHubReleasesInfoProvider: No value supplied for GITHUB_URL, setting default value of: https://api.github.com
GitHubReleasesInfoProvider: No value supplied for GITHUB_TOKEN_PATH, setting default value of: ~/.autopkg_gh_token
GitHubReleasesInfoProvider: Matched regex 'Git-[0-9\.]+-64-bit\.exe' among asset(s): Git-2.36.0-32-bit.exe, Git-2.36.0-32-bit.tar.bz2, Git-2.36.0-64-bit.exe, Git-2.36.0-64-bit.tar.bz2, MinGit-2.36.0-32-bit.zip, MinGit-2.36.0-64-bit.zip, MinGit-2.36.0-busybox-32-bit.zip, MinGit-2.36.0-busybox-64-bit.zip, pdbs-for-git-32-bit-2.36.0.1.ea1e13f733-1.zip, pdbs-for-git-64-bit-2.36.0.1.ea1e13f733-1.zip, PortableGit-2.36.0-32-bit.7z.exe, PortableGit-2.36.0-64-bit.7z.exe
GitHubReleasesInfoProvider: Selected asset 'Git-2.36.0-64-bit.exe' from release 'Git for Windows 2.36.0'
{'Output': {'asset_url': 'https://api.github.com/repos/git-for-windows/git/releases/assets/63118526',
'release_notes': 'Changes since Git for Windows v2.35.3 (April '
'url': 'https://github.com/git-for-windows/git/releases/download/v2.36.0.windows.1/Git-2.36.0-64-bit.exe',
'version': '2.36.0.windows.1'}}
URLDownloader
{'Input': {'filename': 'Git-x64.exe',
'url': 'https://github.com/git-for-windows/git/releases/download/v2.36.0.windows.1/Git-2.36.0-64-bit.exe'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing C:\AutoPkg\Cache\com.github.autopkg-win.download.Git-Win64\downloads\Git-x64.exe
{'Output': {'pathname': 'C:\\AutoPkg\\Cache\\com.github.autopkg-win.download.Git-Win64\\downloads\\Git-x64.exe'}}
StopProcessingIf
{'Input': {'predicate': 'download_changed == False'}}
StopProcessingIf: (download_changed == False) is True
{'Output': {'stop_processing_recipe': True}}
{'7ZIP_PATH': 'C:\\Program Files\\7-Zip\\7z.exe',
'AUTOPKG_DIR': 'C:\\Tools\\AutoPkg',
'AUTOPKG_VERSION': '2.4.1',
'BUILD_DIR': 'C:\\AutoPkg\\Build',
'CACHE_DIR': 'C:\\AutoPkg\\Cache',
'CHECK_FILESIZE_ONLY': False,
'CURL_PATH': 'C:\\Program Files\\Git\\mingw64\\bin\\curl.exe',
'DTF_PATH': 'C:\\Program Files (x86)\\WiX Toolset v3.14\\SDK',
'GITHUB_TOKEN_PATH': '~/.autopkg_gh_token',
'GITHUB_URL': 'https://api.github.com',
'GIT_PATH': 'C:\\Program Files\\Git\\bin\\git.exe',
'NAME': 'Git',
'NANT_PATH': 'C:\\Tools\\nant-0.92\\bin\\NAnt.exe',
'PARENT_RECIPES': [],
'RECIPE_CACHE_DIR': 'C:\\AutoPkg\\Cache\\com.github.autopkg-win.download.Git-Win64',
'RECIPE_DIR': 'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win\\Github',
'RECIPE_OVERRIDE_DIRS': ['C:\\AutoPkg\\RecipeOverrides'],
'RECIPE_PATH': 'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win\\Github\\Git-Win64.download.recipe',
'RECIPE_REPOS': {'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win': {'URL': 'https://github.com/NickETH/recipes-win'},
'C:\\AutoPKG\\RecipeRepos\\com.github.autopkg.sebtomasi-recipes': {'URL': 'https://github.com/autopkg/sebtomasi-recipes'}},
'RECIPE_REPO_DIR': 'C:\\AutoPKG\\RecipeRepos',
'RECIPE_SEARCH_DIRS': ['.',
'%APPDATA%\\AutoPkg\\Recipes',
'%ALLUSERSPROFILE%\\AutoPkg\\Recipes',
'C:\\AutoPKG\\RecipeRepos\\com.github.NickETH.recipes-win',
'C:\\AutoPKG\\RecipeRepos\\com.github.autopkg.sebtomasi-recipes'],
'TOOLS_DIR': 'C:\\Tools\\MSITools',
'asset_regex': 'Git-[0-9\\.]+-64-bit\\.exe',
'asset_url': 'https://api.github.com/repos/git-for-windows/git/releases/assets/63118526',
'download_changed': False,
'etag': '',
'filename': 'Git-x64.exe',
'github_repo': 'git-for-windows/git',
'last_modified': '',
'pathname': 'C:\\AutoPkg\\Cache\\com.github.autopkg-win.download.Git-Win64\\downloads\\Git-x64.exe',
'predicate': 'download_changed == False',
'prefetch_filename': False,
'release_notes': 'Changes since Git for Windows v2.35.3 (April 15th 2022)\n'
'stop_processing_recipe': True,
'url': 'https://github.com/git-for-windows/git/releases/download/v2.36.0.windows.1/Git-2.36.0-64-bit.exe',
'verbose': 3,
'version': '2.36.0.windows.1'}
Receipt written to C:\AutoPkg\Cache\com.github.autopkg-win.download.Git-Win64\receipts\Git-Win64.download-receipt-20220424-171838.plist
Nothing downloaded, packaged or imported.
Show the alternate data streams:
C:\AutoPKG\Cache\com.github.autopkg-win.download.Git-Win64\downloads>dir /r
Directory of C:\AutoPKG\Cache\com.github.autopkg-win.download.Git-Win64\downloads
24.04.2022 17:32 <DIR> .
19.04.2022 19:37 <DIR> ..
24.04.2022 17:17 49’371’696 Git-x64.exe
19 Git-x64.exe:com.github.autopkg.etag:$DATA
29 Git-x64.exe:com.github.autopkg.last-modified:$DATA
1 File(s) 49’371’696 bytes
2 Dir(s) 188’158’640’128 bytes free
Open the alternate data streams in Notepad, since they are plain text:
C:\AutoPKG\Cache\com.github.autopkg-win.download.Git-Win64\downloads>notepad Git-x64.exe:com.github.autopkg.etag:$DATA
Content shown in Notepad: "0x8DA22E1A06F53FC"
C:\AutoPKG\Cache\com.github.autopkg-win.download.Git-Win64\downloads>notepad Git-x64.exe:com.github.autopkg.last-modified:$DATA
Content shown in Notepad: Wed, 20 Apr 2022 15:22:48 GMT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment