1
0
Fork
You've already forked is_ci
0

Please explain in more places how does it work #3

Open
opened 2023年11月15日 05:15:05 +01:00 by dpc · 0 comments
dpc commented 2023年11月15日 05:15:05 +01:00 (Migrated from github.com)
Copy link

Hi. Maybe I have trust issues :D, but seeing a crate like this my first and only question was: "how does it know?". I suspected it is checking some env variables, but it took me quite a bit of clicking to arrive at the actual code. Seems like "This crate checks CI and other env variables set by popular CI systems" is worth putting in a https://docs.rs/is_ci/latest/is_ci/ and README.md

BTW. I would feel better if I knew there's a way to force the result both ways. Seems like CI=0 or CI=false or something like that is not implemented. Just thinking aloud. Anyway, thank you for this project.

Hi. Maybe I have trust issues :D, but seeing a crate like this my first and only question was: "how does it know?". I suspected it is checking some env variables, but it took me quite a bit of clicking [to arrive at the actual code](https://github.com/zkat/is_ci/blob/bc4fda761a9810a0e967d1470772fedd78d79360/src/lib.rs#L26). Seems like "This crate checks `CI` and other env variables set by popular CI systems" is worth putting in a https://docs.rs/is_ci/latest/is_ci/ and README.md BTW. I would feel better if I knew there's a way to force the result both ways. Seems like `CI=0` or `CI=false` or something like that is not implemented. Just thinking aloud. Anyway, thank you for this project.
Sign in to join this conversation.
No Branch/Tag specified
main
v1.2.0
v1.1.1
v1.1.0
v1.0.1
v1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zkat/is_ci#3
Reference in a new issue
zkat/is_ci
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?