-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Cleanup GitHub Root Dir #2201
Comments
A few opinions.
|
Some replies...
|
I feel very lowly in neglecting the fancy formatting you've applied, but here's my weigh-in:
I think we can safely delete README, as well as both of the INSTALL files. I'm fond of a "don't repeat yourself" approach - all the information is already present in the wiki, where it is also organized better than a simple text file and more easily kept up to date. I prefer Beyond moving I don't think A natural place for I can't say much about |
Most of my thoughts have already been covered, so no need to repeat them. Regarding the ReadMe file. I feel this should contain current building instructions, as it is possible for the source code to come from third party origins with no links to our wiki |
NSIS handles the installer, it appears this information is for embedding necessary information into the EXE and DLLs. This is mostly used in Windows to fill the "Properties" screen so that when you right click a file, you can get detailed version information. As with all of our Here's where the input file is mentioned: And our tarball script references it as well here (this tarball script looks like it could be cleaned up as well): |
Agreed.
Since the root of
Yeah, our build toolchains need a home I think. I'm still not convinced that Since the root of |
Please see #2210 (vs. 2201? how confusing! 😈 ) What I've done is remove what we've discussed, kept what we've discussed and only changed the source location of the files. This means cmake will copy them to the same place it always has for building, but it will look for them in their new homes. On a side note, we should eventually make the build process directory consistent with the source structure, but I'd rather do that in a separate cleanup effort if everyone doesn't mind as I've decided on I'm also optimistic that travis will help iron out the kinks. As always, feedback appreciated. 👍 |
Ok, I had missed a few of the New root directory:
|
✋ Why not buildtools? It sits there in the root directory, clearly visible with a descriptive name. OK, anything that is run from cmake fits in cmake/scripts as I see it, but at least the mingw_* scripts are pretty much the opposite, they invoke cmake. |
I like the |
Quoting a comment from the PR:
Duly noted @lukas-w, thanks. -Tres |
I'd vote for simply |
I think all concerns have been addressed via tresf@95f0b29. Let me know if I missed something. If not, I'll squash down the commits and merge. |
To this point, should -Tres |
@lukas-w any opinions on a permanent place for the |
|
Right... to me it all seems related to how we build, so cmake seems about as relevant as any, especially considering we have the NSIS script in there. -Tres |
Maybe the folder could be called "buildres" (build resources) so as to be a
suitable location for all of cmake scripts, cmake-populated includes, NSIS
stuff, bash scripts for mingw, and build tools like bin2res, etc.
|
Warning, TL;DR... I still like the cmake folder because it is relevant to what the scripts are for, especially considering we currently have our NSIS packaging script in there. This is what I propose:
cmake/build_*.sh # all non-standard build scripts
cmake/install_*.sh # all non-standard install scripts (Apple needs one of these for bundling)
cmake/package_*.sh # all non-standard package scripts (Apple needs one of these for dmg'ing)
# NOTE:
#
# Ideally, we'd do everything automatically through CMake
# e.g. make
# make install
# make package
# ..etc
# BUT... some items such as mingw toolchain and Apple packaging currently
# have good reasoning on remaining external scripts -- at least for now. For example: cmake/build_mingw.sh # builds for win64 on msys2 and mingw. win32 can be forced via flag
cmake/install_mac.sh # install (bundle) target for the current osx platform
cmake/package_mac.sh # package (dmg) for the current osx platform But this begs the question, where do the configure files ( cmake/linux/lmms.desktop # desktop shortcut for linux installations
cmake/linux/lmms.xml # file association for linux installations
cmake/linux/lmms.png # desktop icon for linux installations
cmake/linux/application-x-lmms-project.svg # project icon for linux installations
cmake/linux/lmms # seriously, WTF is this `data/lmms` file even for?
cmake/nsis/FileAssociation.nsh # helper script for nsis (win32, win64) packaging
cmake/nsis/nsis_branding.bmp # artwork for nsis installer
cmake/nsis/lmms.ico # desktop icon for nsis installer
cmake/mac/install_mac.sh.in # install template for the current osx platform
cmake/mac/package_mac.sh.in # package template for the current osx platform
cmake/mac/lmms.plist.in # installation instructions template for osx
cmake/mac/project.icns # project icon for osx
cmake/mac/lmms.icns # dock icon for osx installations
cmake/msys/msys_helper.sh # helper script for msys2 environment
cmake/msys/fetch_ppa.sh # helper script for msys2 environment
cmake/msys/extract_debs.sh # helper script for msys2 environment Edit: Note, if you look at the data directory we have today, it will be much more organized after this as it is currently filled with build-specific files, which I find a bit misleading considering we use the data directory for static code-seeking resources (themes, presets, blah) as well and this would help define what data is actually there for, rather than a miscellaneous catch-all folder. |
@tresf that sounds reasonable.
|
I've cleaned up the data directory and also taken some time to go through the For example...
I've also switched to spaces for formatting on some vertically aligned areas to fix improper displaying on certain editors. I'd like to get this merged soon, so any and all feedback is appreciated. |
Per LMMS#2201 Formatting fix
Cleans up the root directory of the GitHub source tree and starts to separate platform-specific installing and packaging logic from the master CMakeLists.txt. Closes LMMS#2201
Cleans up the root directory of the GitHub source tree and starts to separate platform-specific installing and packaging logic from the master CMakeLists.txt. Closes LMMS#2201
Cleans up the root directory of the GitHub source tree and starts to separate platform-specific installing and packaging logic from the master CMakeLists.txt. Closes LMMS#2201
We have a lot of files in the root of our source tree and many of them are no longer used, redundant, or are input files for cmake.
This is a thread to talk about cleaning these up. Feedback needed.
The first column is Keep (green), Move (check) or Delete (blank)
.gitattributes
.gitignore
.gitmodules
.mailmap
Move, if cmake/our code allows it.Keep per #2210 (comment).travis.yml
AUTHORS
datadocsCMakeLists.txt
COPYING
INSTALL
Can we just link to the wiki?INSTALL.Qt5
Can we just link to the wiki?Merged w/ INSTALLREADME
README.md
TODO
build_mingw32
build_mingw64
data orcmake/scripts
. Update travis, Windows wiki.configure
lmms.1
data or cmake?docs
. Assumes source allows.lmms.rc.in
data
or cmake?Assumes source allows.lmms.spec.in
.spec
RPM file? Move todata
or cmake?Assumes source allows.lmmsconfig.h.in
data or cmake?src
. Assumes source allows.lmmsversion.h.in
data or cmake?src
. Assumes source allows.The text was updated successfully, but these errors were encountered: