-
Notifications
You must be signed in to change notification settings - Fork 15
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
Automatically update package manifests for PRs #135
Comments
I was attempting to bulk update the repo via so I'm not sure what's missing in my dev environment, or what I might be doing wrong, or what assumption the generator might be making that I've missed (for example, I've seen in fact, a closer reading of I'm definitely going to experiment a little more before I have anything concrete to propose. |
diff --git a/crates/generator/src/pkg/arkade.rs b/crates/generator/src/pkg/arkade.rs
index 383e71f..b579941 100644
--- a/crates/generator/src/pkg/arkade.rs
+++ b/crates/generator/src/pkg/arkade.rs
@@ -40,6 +40,16 @@ pub fn release() -> Package {
tag_version_regex_template: None,
scan_dirs: None,
}),
+ PackageTargetType::MacOSArm64(PackageManagement {
+ artifact_templates: vec!["{version}/arkade-darwin-arm64".to_string()],
+ executable_templates: None,
+ executable_mappings: None,
+ install_commands: None,
+ uninstall_commands: None,
+ upgrade_commands: None,
+ tag_version_regex_template: None,
+ scan_dirs: None,
+ }),
PackageTargetType::Windows(PackageManagement {
artifact_templates: vec!["{version}/arkade.exe".to_string()],
executable_templates: None,
here it is being added to the generator .release() calls => https://github.com/innobead/huber/blob/main/crates/generator/src/build.rs#L246 I am not sure what to investigate next 🤔 if I do not understand the generator, I cannot automate the generator :( |
This is only for generating the manifest of the updated package. If there are no changes locally, no manifests will be regenerated. |
Your observation is correct. |
I really wanted to use the "Github Suggestions" feature so a human could interactively approve or deny the generated changes but for $reasons, the Suggestions API isn't particularly useful for doing that. so I might relax my desire to have automatic generator updates :( I do think there are still some packages out of date, unpublished entirely (renote??), or missing now-supported architectures. |
It is feasible surely. Let's create a ticket first.
Originally posted by @innobead in #134 (comment)
The text was updated successfully, but these errors were encountered: