Piotr Krzemiński
04/11/2024, 10:20 AMNikky
04/11/2024, 11:20 AM@file:DependsOn
yet ?Piotr Krzemiński
04/11/2024, 11:22 AMhow do you easily discover the available actions and whatever the latest version is ?how would you do it without github-workflows-kt, with the YAML approach?
Piotr Krzemiński
04/11/2024, 11:22 AMPiotr Krzemiński
04/11/2024, 11:24 AManything like refreshVersions work forgood question, @jmfayard @louiscad ?yet ?@file:DependsOn
Nikky
04/11/2024, 11:31 AMPiotr Krzemiński
04/11/2024, 11:32 AMJilles van Gurp
04/11/2024, 11:34 AMPiotr Krzemiński
04/11/2024, 11:34 AMPiotr Krzemiński
04/11/2024, 11:35 AM@Deprecated
annotations... I need to think about it, thanks for the feedbackPiotr Krzemiński
04/11/2024, 11:37 AMOne issue with kts scripts is that the dependency management is a bit messy and flaky.can you be more specific? it's certainly not the full-fledged dependency management like we get with Gradle, but I think it does the job
Jilles van Gurp
04/11/2024, 11:38 AMJilles van Gurp
04/11/2024, 11:39 AMJilles van Gurp
04/11/2024, 11:40 AMJilles van Gurp
04/11/2024, 11:41 AMPiotr Krzemiński
04/11/2024, 11:41 AMI've had lots of issues with intellij not fetching dependencies correctly or requiring restarts after editing kts scripts.is there a bug for it in YouTrack?
Jilles van Gurp
04/11/2024, 11:42 AMNikky
04/11/2024, 11:43 AMVampire
04/11/2024, 11:45 AMhmm, maybe we could have the bindings server generate theProbably not a good idea, as you would need to change what you deliver for v1.2.3 as soon as v2 is released.annotations... I need to think about it, thanks for the feedback@Deprecated
Vampire
04/11/2024, 11:45 AMMaybe a better idea is to have type aliases always pointing to the latest version of modules and then simply let people fall back to older versions explicitly only when they need themUse a version range?
Nikky
04/11/2024, 11:45 AMlouiscad
04/11/2024, 11:46 AMNikky
04/11/2024, 11:49 AMVampire
04/11/2024, 11:50 AMPiotr Krzemiński
04/11/2024, 11:50 AMmaven-metadata.xml
is generated based on GitHub branches/tags, so refreshVersions should be able to do its job if it's Kotlin script-awarelouiscad
04/11/2024, 11:51 AMlouiscad
04/11/2024, 11:51 AMPiotr Krzemiński
04/11/2024, 11:54 AMVampire
04/11/2024, 11:55 AMNikky
04/11/2024, 11:55 AM.github/workflows/
folder for all contained scripts, i think this could work
another thing that would be very useful is a listing of all available artifacts in the maven repo and some codegen to paste into the file
as it is.. the IDE support for kts files is a bit (lot) lacking
.. editing the dependson annotations kept locking up my editor even when there was no auto-reload enabledVampire
04/11/2024, 11:56 AMlouiscad
04/11/2024, 11:57 AMlouiscad
04/11/2024, 11:57 AMlouiscad
04/11/2024, 11:58 AMVampire
04/11/2024, 11:58 AMlouiscad
04/11/2024, 11:59 AMlouiscad
04/11/2024, 11:59 AMPiotr Krzemiński
04/11/2024, 12:03 PMNikky
04/11/2024, 12:04 PMi liked seeing the version of the action we were using in the classname
Piotr Krzemiński
04/11/2024, 12:05 PM@Deprecated
annotations on the binding's class is actually helpful, and people already got used to itPiotr Krzemiński
04/11/2024, 12:07 PMV2
can be perceived as a change in a bad direction. This change is a trade-off, allows managing dependencies in a single place and making the library more maintainableNikky
04/11/2024, 12:08 PMPiotr Krzemiński
04/11/2024, 12:09 PM:v3
is problematic, right?Nikky
04/11/2024, 12:09 PMlouiscad
04/11/2024, 12:10 PMlouiscad
04/11/2024, 12:10 PMPiotr Krzemiński
04/11/2024, 12:11 PMPiotr Krzemiński
04/11/2024, 12:12 PMNikky
04/11/2024, 12:13 PMPiotr Krzemiński
04/11/2024, 12:13 PMPiotr Krzemiński
04/11/2024, 12:13 PMNikky
04/11/2024, 12:14 PMPiotr Krzemiński
04/11/2024, 12:18 PM@file:Import
becomes less of an issue (but it still is if you consider sharing code between various entry-point scripts)Piotr Krzemiński
04/11/2024, 12:22 PMVampire
04/11/2024, 12:31 PMwhat I take from this is that the users of github-workflows-kt mostly don't like dependency updating bots
Don't just interpolate that from my opinion and one of the maintainers of
refreshVersions
though. :-DPiotr Krzemiński
04/11/2024, 12:34 PMVampire
04/11/2024, 12:35 PMPiotr Krzemiński
04/11/2024, 12:35 PMVampire
04/11/2024, 12:35 PMPiotr Krzemiński
04/11/2024, 12:43 PM@file:DependsOn
. It would partially solve the issues you describe here, flaky IDE support for @file:DependsOn
still being an issue that cannot be easily worked aroundNikky
04/11/2024, 12:51 PMPiotr Krzemiński
04/12/2024, 1:53 PM