shy-advantage-49800
11/28/2021, 12:44 PMclass CustomSetupKwargsRequest(SetupKwargsRequest):
    @classmethod
    def is_applicable(cls, _: Target) -> bool:
        return True
@rule(level=LogLevel.DEBUG)
async def setup_kwargs_plugin(request: CustomSetupKwargsRequest) -> SetupKwargs:
    result = await Get(
        ProcessResult,
        Process(
            argv=["/bin/git", "rev-parse", "--short", "HEAD"],
            description="Retrieve last commit hash.",
        ),
    )input_digestworking_directory.githappy-kitchen-89482
11/28/2021, 2:16 PM.githappy-kitchen-89482
11/28/2021, 2:19 PMhappy-kitchen-89482
11/28/2021, 2:21 PM.gitgit.gitinput_digesthappy-kitchen-89482
11/28/2021, 2:21 PMhappy-kitchen-89482
11/28/2021, 2:23 PMhappy-kitchen-89482
11/28/2021, 2:23 PMhappy-kitchen-89482
11/28/2021, 2:23 PMmodern-wolf-36228
11/28/2021, 5:16 PMcurved-television-6568
11/28/2021, 6:45 PM