Skip to content
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

Refactor pipeline #964

Merged
merged 6 commits into from
Feb 4, 2025
Merged

Refactor pipeline #964

merged 6 commits into from
Feb 4, 2025

Conversation

squell
Copy link
Member

@squell squell commented Jan 21, 2025

There was some anticipated generalisation (and thus abstraction) of the pipeline which never materialized (e.g. using the same pipeline for sudo, su and a potential doas-rs), since su and sudo were too different.

This got in the way of implementing #61 and also made the code sometimes hard to change

In the future, as sudo-rs gets more functionality, introducing this generalization isn't a bad idea, but then it's better to do that based on the actual needs instead of the pre-planned needs of the implementations.

Take no thought for the morrow: for the morrow shall take thought for the things of itself.

Preparatory part of #61

@squell squell force-pushed the refactor-pipeline branch 7 times, most recently from 4deb268 to 231cf3f Compare January 21, 2025 15:22
src/common/context.rs Outdated Show resolved Hide resolved
@squell squell force-pushed the refactor-pipeline branch from 231cf3f to 222f138 Compare February 3, 2025 16:05
@squell squell enabled auto-merge February 3, 2025 16:10
@squell squell force-pushed the refactor-pipeline branch from 7404db2 to bd57640 Compare February 3, 2025 16:19
@squell squell force-pushed the refactor-pipeline branch from bd57640 to 1feff85 Compare February 3, 2025 16:22
@squell squell merged commit 882a69c into main Feb 4, 2025
14 checks passed
@squell squell deleted the refactor-pipeline branch February 4, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants