mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
fix: Remove Emoji from Setup (#142)
* fix: Remove emoji from setup * fix: Update README demo
This commit is contained in:
@@ -262,9 +262,9 @@ Refer to [CONTRIBUTING.md](CONTRIBUTING.md)
|
||||
<details>
|
||||
<summary>Private package artifacts inaccessible in non-proxy mode</summary>
|
||||
|
||||
If `pmg` is unable to retrieve the private package’s artifacts (files, metadata, etc.), it cannot proceed with dependency tree analysis. This is a limitation of non-proxy mode, where `pmg` is responsible for resolving dependencies and cannot resolve transitive dependencies for private (non-accessible) packages.
|
||||
If `pmg` cannot retrieve private package artifacts (such as files or metadata), it cannot perform dependency tree analysis. This is a limitation of non-proxy mode, where `pmg` is responsible for resolving dependencies and is unable to resolve transitive dependencies for private (inaccessible) packages.
|
||||
|
||||
With **Proxy Mode enabled**, this limitation **does not** apply—transitive dependencies are analyzed as long as they originate from public registries.
|
||||
This limitation does **not** apply when **Proxy Mode is enabled**.
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 159 KiB |
@@ -10,6 +10,7 @@ Type "pmg setup install"
|
||||
Enter
|
||||
Sleep 2s
|
||||
|
||||
Enter
|
||||
Enter
|
||||
|
||||
Type "source ~/.pmg.rc"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 162 KiB |
@@ -9,6 +9,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/safedep/dry/log"
|
||||
"github.com/safedep/pmg/internal/ui"
|
||||
)
|
||||
|
||||
// AliasManager manages shell aliases for package managers.
|
||||
@@ -121,9 +122,9 @@ func (a *AliasManager) Install() error {
|
||||
return fmt.Errorf("failed to update shell configs: %w", err)
|
||||
}
|
||||
|
||||
fmt.Println("✅ PMG aliases installed successfully!")
|
||||
fmt.Printf("📁 Created: %s\n", rcPath)
|
||||
fmt.Println("💡 Restart your terminal or source your shell to use the new aliases")
|
||||
fmt.Printf("%s %s\n", ui.Colors.Green("✓"), "PMG aliases installed successfully")
|
||||
fmt.Printf(" %s\n", ui.Colors.Dim(fmt.Sprintf("Created: %s", rcPath)))
|
||||
fmt.Printf(" %s\n", ui.Colors.Dim("Restart your terminal or source your shell to use the new aliases"))
|
||||
|
||||
return nil
|
||||
}
|
||||
@@ -138,7 +139,7 @@ func (a *AliasManager) Remove() error {
|
||||
return fmt.Errorf("failed to clean shell configs: %w", err)
|
||||
}
|
||||
|
||||
fmt.Println("✅ PMG config removed. Existing aliases need a shell restart.")
|
||||
fmt.Printf("%s %s\n", ui.Colors.Green("✓"), "PMG config removed. Existing aliases need a shell restart")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user