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

reorganize project directories #86

Merged
merged 4 commits into from
Jan 25, 2024
Merged

reorganize project directories #86

merged 4 commits into from
Jan 25, 2024

Conversation

garlick
Copy link
Member

@garlick garlick commented Jan 25, 2024

This rearranges the source tree to be less...weird? What do you think @chu11?

Thought I'd try to knock this off early since it won't play well with other changes that might be in-flight soon.

Problem: the powerman source tree layout is a bit awkward:
powerman code itself is split into three directories, and source
code is at the top level.

Move source to a src subdirectory.
Consolidate powerman, powermand, and libpowerman directories.
Problem: there are a zillion device scripts cluttering up etc.

Put them in a "devices" subdir.
Problem: the systemd config is in the script directory, a
vestige from sysvinit scripts days.

These are config files not scripts, so move them to etc.
Problem: libpowerman.pc is in the source directory but it
belongs in etc with other config files.

Move to etc.
Copy link
Member

@chu11 chu11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@garlick garlick merged commit 36adb2e into chaos:master Jan 25, 2024
5 checks passed
@garlick
Copy link
Member Author

garlick commented Jan 25, 2024

Merged, thanks!

@garlick garlick deleted the reorg_dirs branch January 25, 2024 17:28
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