-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for exposing manual pages #1047
Commits on Aug 24, 2023
-
Preliminary support for exposing manual pages
- Can install and uninstall a simple package with manual pages on Linux. - Not tested on macOS or Windows. - Tests not updated yet.
Configuration menu - View commit details
-
Copy full SHA for 8ca1470 - Browse repository at this point
Copy the full SHA 8ca1470View commit details -
Fix typo in run_post_install_actions
A function call to expose_resources_globally with a duplicate argument.
Configuration menu - View commit details
-
Copy full SHA for 0024793 - Browse repository at this point
Copy the full SHA 0024793View commit details
Commits on Aug 31, 2023
-
Merge get_resources with get_man_pages
- Add a new MAN_SECTIONS constant. - Loop over MAN_SECTIONS instead of range(1, 10) when iterating man sections. - _dfs_package_resources and get_resources now return a nested list for apps and man pages together.
Configuration menu - View commit details
-
Copy full SHA for 49b13fb - Browse repository at this point
Copy the full SHA 49b13fbView commit details
Commits on Sep 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6b88414 - Browse repository at this point
Copy the full SHA 6b88414View commit details
Commits on Sep 3, 2023
-
Fix printing of unavailable apps and man pages
This fixes something which might be a small bug in the original code, but also affecting the man pages exposition. Post-installation, pipx prints "These apps are now globally available", followed by a list of app names. However, if all of the apps are unavailable (`exposed_binary_names` is empty and `unavailable_binary_names` is non-empty), "These apps are now globally available" is not printed, when it probably should. In this case, the list of unavailable apps is printed regardless and appears somewhat out of context. The same issue affects printing of exposed and unavailable man pages.
Configuration menu - View commit details
-
Copy full SHA for 719b0a2 - Browse repository at this point
Copy the full SHA 719b0a2View commit details -
Fix exposing man pages when symlinks not available
When symbolic links are not available (e.g. on Windows), `get_exposed_man_paths_for_package` failed to produce results because it called `get_exposed_paths_for_package` with an incorrect list of man pages. Items in this list errornously included the `man<i>` path prefix.
Configuration menu - View commit details
-
Copy full SHA for 894cc58 - Browse repository at this point
Copy the full SHA 894cc58View commit details
Commits on Oct 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b566c3a - Browse repository at this point
Copy the full SHA b566c3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad85f86 - Browse repository at this point
Copy the full SHA ad85f86View commit details -
Split get_resources into three functions
This is to satisfy the linter. The new functions are: - get_apps_from_entry_points - get_resources_from_dist_files - get_resources_from_inst_files get_resources simply collectes the results from the above functions. The functionality is unchanged.
Configuration menu - View commit details
-
Copy full SHA for d751f93 - Browse repository at this point
Copy the full SHA d751f93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d4115c - Browse repository at this point
Copy the full SHA 0d4115cView commit details
Commits on Oct 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5f63729 - Browse repository at this point
Copy the full SHA 5f63729View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d0907f - Browse repository at this point
Copy the full SHA 7d0907fView commit details
Commits on Oct 4, 2023
-
Fix an issue with Python < 3.9
The man pages code used the str.removeprefix method which does not exist in older Python versions.
Configuration menu - View commit details
-
Copy full SHA for 85995bb - Browse repository at this point
Copy the full SHA 85995bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33f8936 - Browse repository at this point
Copy the full SHA 33f8936View commit details -
Fix exposing package resources
can_symlink could prevously be called without the directory existing yet, resulting in an error. Also the symlink check was performed on the "man" directory instead of individually on the "man/man<i>" subdirectories. _copy_package_resources is now _copy_package_resource and called per path from expose_resources_globally. _symlink_package_resources is removed, and instead _symlink_package_resource is called per path directly from expose_resources_globally. expose_resources_globally creates the destination directory before calling can_symlink, which fixes the error.
Configuration menu - View commit details
-
Copy full SHA for bb8b307 - Browse repository at this point
Copy the full SHA bb8b307View commit details -
can_symlink is called in _get_venv_resource_paths on local_resource_dir which might not exist. Test first if the directory exists.
Configuration menu - View commit details
-
Copy full SHA for e84b809 - Browse repository at this point
Copy the full SHA e84b809View commit details
Commits on Oct 5, 2023
-
Improve changelog description of expose manual pages
Co-authored-by: Tzu-ping Chung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e03ec55 - Browse repository at this point
Copy the full SHA e03ec55View commit details -
Add documentation of exposing manual pages
- Add new bullet points to the "How it Works" section. - Add description of how to use data_files with manual pages in setup.py to the "Developing for pipx" section. - Add description to the pipx install command help.
Configuration menu - View commit details
-
Copy full SHA for bd6c65e - Browse repository at this point
Copy the full SHA bd6c65eView commit details
Commits on Oct 9, 2023
-
Co-authored-by: chrysle <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c8e08b - Browse repository at this point
Copy the full SHA 1c8e08bView commit details -
Co-authored-by: chrysle <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e236ad - Browse repository at this point
Copy the full SHA 0e236adView commit details -
Add link to data_files documentation in How pipx works
Co-authored-by: chrysle <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83f511c - Browse repository at this point
Copy the full SHA 83f511cView commit details -
Improve formatting in How pipx works
Co-authored-by: chrysle <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7433dc - Browse repository at this point
Copy the full SHA c7433dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37074fb - Browse repository at this point
Copy the full SHA 37074fbView commit details -
Improve pipx inject help message
Mention that --include-apps also exposes manual pages.
Configuration menu - View commit details
-
Copy full SHA for 71cc733 - Browse repository at this point
Copy the full SHA 71cc733View commit details
Commits on Oct 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e1d4d5a - Browse repository at this point
Copy the full SHA e1d4d5aView commit details
Commits on Oct 25, 2023
-
Fix tests related to man page symlinking
- pipx output was not correctly parsed now that a list of manual pages is also printed. - LOCAL_MAN_DIR was not monkey patched. As a result, manual pages were installed under ~/.local instead of a temporary directory.
Configuration menu - View commit details
-
Copy full SHA for 7662c7a - Browse repository at this point
Copy the full SHA 7662c7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3848b0d - Browse repository at this point
Copy the full SHA 3848b0dView commit details -
Test for installed manual pages of packages
For now this is only enabled for the packages pycowsay and youtube-dl.
Configuration menu - View commit details
-
Copy full SHA for 4b13f11 - Browse repository at this point
Copy the full SHA 4b13f11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7451200 - Browse repository at this point
Copy the full SHA 7451200View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6200e9c - Browse repository at this point
Copy the full SHA 6200e9cView commit details
Commits on Oct 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 12986d4 - Browse repository at this point
Copy the full SHA 12986d4View commit details -
Update tests so that they work with man pages
Also update remaining pycowsay references to version 0.0.0.2.
Configuration menu - View commit details
-
Copy full SHA for e5af3e1 - Browse repository at this point
Copy the full SHA e5af3e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 681379c - Browse repository at this point
Copy the full SHA 681379cView commit details -
Make test man page paths OS independent
This is to fix tests on Windows.
Configuration menu - View commit details
-
Copy full SHA for 57b72ec - Browse repository at this point
Copy the full SHA 57b72ecView commit details -
Remove redundant print calls in test_list.py
These have been introduced accidentaly.
Configuration menu - View commit details
-
Copy full SHA for e9de6cc - Browse repository at this point
Copy the full SHA e9de6ccView commit details
Commits on Oct 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c663de0 - Browse repository at this point
Copy the full SHA c663de0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 785e590 - Browse repository at this point
Copy the full SHA 785e590View commit details -
Configuration menu - View commit details
-
Copy full SHA for e92d48d - Browse repository at this point
Copy the full SHA e92d48dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43a5b55 - Browse repository at this point
Copy the full SHA 43a5b55View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac68fe0 - Browse repository at this point
Copy the full SHA ac68fe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4be646c - Browse repository at this point
Copy the full SHA 4be646cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bfa906 - Browse repository at this point
Copy the full SHA 8bfa906View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3f55df - Browse repository at this point
Copy the full SHA d3f55dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f31c96 - Browse repository at this point
Copy the full SHA 2f31c96View commit details -
Configuration menu - View commit details
-
Copy full SHA for d599c0f - Browse repository at this point
Copy the full SHA d599c0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ff0d48 - Browse repository at this point
Copy the full SHA 1ff0d48View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9c8843 - Browse repository at this point
Copy the full SHA d9c8843View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f2eec8 - Browse repository at this point
Copy the full SHA 2f2eec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e81de6 - Browse repository at this point
Copy the full SHA 0e81de6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba7e35e - Browse repository at this point
Copy the full SHA ba7e35eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 567a86f - Browse repository at this point
Copy the full SHA 567a86fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d30eae1 - Browse repository at this point
Copy the full SHA d30eae1View commit details
Commits on Oct 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9234fd1 - Browse repository at this point
Copy the full SHA 9234fd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b87dae - Browse repository at this point
Copy the full SHA 2b87daeView commit details
Commits on Nov 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ab391a0 - Browse repository at this point
Copy the full SHA ab391a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16e2e07 - Browse repository at this point
Copy the full SHA 16e2e07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 056ca41 - Browse repository at this point
Copy the full SHA 056ca41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3005ae5 - Browse repository at this point
Copy the full SHA 3005ae5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ba4a72 - Browse repository at this point
Copy the full SHA 0ba4a72View commit details
Commits on Nov 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 31b6301 - Browse repository at this point
Copy the full SHA 31b6301View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57fc444 - Browse repository at this point
Copy the full SHA 57fc444View commit details -
Configuration menu - View commit details
-
Copy full SHA for a357a08 - Browse repository at this point
Copy the full SHA a357a08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 129fa8c - Browse repository at this point
Copy the full SHA 129fa8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 439f242 - Browse repository at this point
Copy the full SHA 439f242View commit details -
Configuration menu - View commit details
-
Copy full SHA for 019b12f - Browse repository at this point
Copy the full SHA 019b12fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 181deac - Browse repository at this point
Copy the full SHA 181deacView commit details
Commits on Nov 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0548974 - Browse repository at this point
Copy the full SHA 0548974View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fdfc24 - Browse repository at this point
Copy the full SHA 6fdfc24View commit details
Commits on Nov 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 23cca61 - Browse repository at this point
Copy the full SHA 23cca61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4914277 - Browse repository at this point
Copy the full SHA 4914277View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9604da - Browse repository at this point
Copy the full SHA d9604daView commit details
Commits on Dec 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 24c5cf7 - Browse repository at this point
Copy the full SHA 24c5cf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6afa2b0 - Browse repository at this point
Copy the full SHA 6afa2b0View commit details