1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2025-01-05 23:20:43 +00:00
starship/src/modules
Kevin Song 08b5ad94fd
ci: Fix aws::expiration_date_set_from_file race (#3484)
* ci: Fix aws::expiration_date_set_from_file race

While aws::expiration_date_set_from_file will almost-always work
perfectly locally, it is theoretically possible for the thread running
the test to be scheduled away betwen writing the file with timing
information and then actually reading it, resulting in a
shorter-than-expected time appearing in the module. This can also happen
if the test triggers right at the very end of a second (e.g. at
10:45:47.999995).

This appears to actually happen sometimes on heavily-loaded GitHub
Actions runners. To fix this issue, we allow for up to a two-second
delay between when the file is written and when the test actually fires
(allowing "30m", "29m59s", and "29m58s" as possible values).

* Fix typo
2022-01-22 12:54:04 +01:00
..
utils fix(directory): improve truncation detection (#3266) 2021-11-26 13:07:28 +01:00
aws.rs ci: Fix aws::expiration_date_set_from_file race (#3484) 2022-01-22 12:54:04 +01:00
azure.rs feat(azure): Azure module (#3275) 2021-12-06 23:01:33 +01:00
battery.rs fix: replace battery with starship-battery (#3213) 2021-11-09 06:35:45 -05:00
character.rs fix(properties): fix regressions in status, pipestatus and terminal-width handling (#3399) 2022-01-15 04:21:38 -05:00
cmake.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
cmd_duration.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
cobol.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
conda.rs fix(directory): improve truncation detection (#3266) 2021-11-26 13:07:28 +01:00
container.rs feat: add a container indicator (#3304) 2022-01-21 09:44:46 -06:00
crystal.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
custom.rs feat: add support for cmd (#3277) 2022-01-09 23:47:53 -06:00
dart.rs fix(dart): detect version output in stdout with dart 2.15+ (#3349) 2021-12-24 09:43:07 -05:00
deno.rs feat(deno): detect deno.json and deno.jsonc (#3220) 2021-12-30 09:55:46 +01:00
directory.rs chore(directory): fix typo (#3364) 2021-12-31 08:22:46 +01:00
docker_context.rs chore: fix typo in docker_context.rs (#3265) 2021-11-23 17:56:16 +01:00
dotnet.rs fix(git_branch): more robust handling of .git (#3290) 2021-12-03 15:15:31 -05:00
elixir.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
elm.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
env_var.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
erlang.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
fill.rs feat(fill): add disabled option for fill module (#3158) 2021-10-21 14:27:32 +02:00
gcloud.rs chore(clippy): fix new clippy lints (#3294) 2021-12-03 00:54:56 -06:00
git_branch.rs fix(git_branch): more robust handling of .git (#3290) 2021-12-03 15:15:31 -05:00
git_commit.rs fix(git_branch): more robust handling of .git (#3290) 2021-12-03 15:15:31 -05:00
git_metrics.rs fix(git_branch): more robust handling of .git (#3290) 2021-12-03 15:15:31 -05:00
git_state.rs fix(git_branch): more robust handling of .git (#3290) 2021-12-03 15:15:31 -05:00
git_status.rs perf(git_status): tweak exec flags to omit unnecessary info (#3287) 2021-12-30 15:12:53 -06:00
golang.rs chore(clippy): fix new clippy lints (#3294) 2021-12-03 00:54:56 -06:00
helm.rs chore(clippy): fix new clippy lints (#3294) 2021-12-03 00:54:56 -06:00
hg_branch.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
hostname.rs test(hostname): fix trim_at test with unicode hostname (#3295) 2021-12-09 22:15:25 +01:00
java.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
jobs.rs refactor: update clap to v3 (#3370) 2022-01-04 12:49:42 +03:00
julia.rs chore(clippy): fix new clippy lints (#3294) 2021-12-03 00:54:56 -06:00
kotlin.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
kubernetes.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
line_break.rs feat: Add a fill module to pad out the line (#3029) 2021-09-12 19:59:15 -04:00
lua.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
memory_usage.rs fix(memory_usage): remove duplicate % handling (#3193) 2021-11-01 22:19:27 +01:00
mod.rs feat: add a container indicator (#3304) 2022-01-21 09:44:46 -06:00
nim.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
nix_shell.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
nodejs.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
ocaml.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
openstack.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
package.rs feat(package): support for dart pub version (#3373) 2022-01-01 23:57:20 +01:00
perl.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
php.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
pulumi.rs refactor: update clap to v3 (#3370) 2022-01-04 12:49:42 +03:00
purescript.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
python.rs feat(python): Show value of PYENV_VERSION when present (#3144) 2021-11-09 21:55:53 +01:00
red.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
rlang.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
ruby.rs feat(ruby): Add environment variable checks to ruby module (#3206) 2021-11-08 21:21:09 +01:00
rust.rs refactor: update clap to v3 (#3370) 2022-01-04 12:49:42 +03:00
scala.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
shell.rs feat: add support for cmd (#3277) 2022-01-09 23:47:53 -06:00
shlvl.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
singularity.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
status.rs fix(properties): fix regressions in status, pipestatus and terminal-width handling (#3399) 2022-01-15 04:21:38 -05:00
sudo.rs feat(module): Add sudo module (#3135) 2021-11-15 06:46:13 +01:00
swift.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
terraform.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
time.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
username.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
vagrant.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
vcsh.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
vlang.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
zig.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00