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]: Move sources into subdirectories #2119

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Caellian
Copy link
Collaborator

@Caellian Caellian commented Dec 16, 2024

A refactor that moves sources from src/ directory into appropriate subdirectories.

This PR contains no functional changes.

I wanted to do this ever since my first commit 😆, but yeah, I feel like the src/ directory is too crowded and very difficult to navigate. To the extent that it takes me a minute of scrolling sometimes before I can find the source file I'm looking for - and I'm familiar with this project.

When I first started I remember having to navigate though include statements.

TODO

  • Rename files in a separate commit
  • Fix build files and include statements

@Caellian Caellian added the enhancement suggests alteration of existing functionality to better support different use cases label Dec 16, 2024
@github-actions github-actions bot added the sources PR modifies project sources label Dec 16, 2024
Copy link

netlify bot commented Dec 16, 2024

Deploy Preview for conkyweb canceled.

Name Link
🔨 Latest commit 9db9e57
🔍 Latest deploy log https://app.netlify.com/sites/conkyweb/deploys/675fd43cd7e36d0008facff2

@Caellian
Copy link
Collaborator Author

Caellian commented Dec 16, 2024

@brndnmtthws can you please confirm whether I should continue with this PR?

I made sure to separate commit with renames so this PR can be hidden in .git-blame-ignore-revs and rebasing should work out well for other active PRs?

The only important thing is that you'd need to merge the commits without squashing because squashing them will make git fumble renames - I will have to modify files to update imports. I'll make sure there's only 2 to keep the main branch history clean.

Caellian added a commit that referenced this pull request Dec 16, 2024
Part 1 of refactor commit. This commit only renames the files to
preserve git history.

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Part 1 of refactor commit. This commit only renames the files to
preserve git history.

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
This is part 2 of #2119. The parent commit (ef6feef) only moved files
to retain their correct history, this commit fixes all the includes and
build files.

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
@Caellian Caellian requested a review from brndnmtthws December 16, 2024 07:18
Copy link
Owner

@brndnmtthws brndnmtthws left a comment

Choose a reason for hiding this comment

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

This is a good idea! Really cleans things up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement suggests alteration of existing functionality to better support different use cases sources PR modifies project sources
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants