-
Notifications
You must be signed in to change notification settings - Fork 14
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
Repo size #3
Comments
Now it's 157MB + releases. |
Hi @dzid26, Can you reply here with your your suggestions for repo structure changes and I will check with @AdamV3D if it will not disturb his fork at https://github.com/AdamV3D/ble_stepper_motor_analyser. A text description should do, e.g. 'move file x to location z'. BTW, the esptool is included in the release to allow users to perform firmware upgrade in the field. Also, currently the releases covers four aspects of this project, hardware (Kicad), firmware that runs on the devices, python software that runs on the PC, software tools for upgrade such as esptool. Thanks, |
... another useful change would be to generate the 3 python binaries on the
github servers instead of locally. I think github supports this kind of
functionality (for Windows, Mac, and Linux) but never used it and not sure
if it's included with the free plan.
Zapta.
…On Sat, Jun 10, 2023 at 9:32 AM dzid26 ***@***.***> wrote:
I did it
<https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository>
in my fork <https://github.com/dzid26/ble_stepper_motor_analyzer>.
java -jar bfg.jar --delete-files stepper_monitor-2023-06-10_153440.zip
java -jar bfg.jar --delete-files stepper_monitor-2023-06-10_145755.zip
java -jar bfg.jar --delete-files nrf_sniffer_for_bluetooth_le_4.1.1.zip
java -jar bfg.jar --delete-files ibom.html
java -jar bfg.jar --delete-files positions.csv
java -jar bfg.jar --delete-files gerber.zip
java -jar bfg.jar --delete-files bom.csv
java -jar bfg.jar --delete-files bootloader.bin
java -jar bfg.jar --delete-files firmware.bin
java -jar bfg.jar --delete-files partitions.bin
java -jar bfg.jar --delete-files analyzer
java -jar bfg.jar --delete-files analyzer.exe
java -jar bfg.jar --delete-files bluetooth_spec_Core_v4.2.pdf
java -jar bfg.jar --delete-files bluetooth_spec_Core_v5.3.pdf
git push --force
git reflog expire --expire=now --all && git gc --prune=now --aggressive
Now it's 157MB + releases
<https://github.com/dzid26/ble_stepper_motor_analyzer/releases/tag/0.1.4.V3D>
.
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQVMQJGFYDXGQBCE7XGBBTXKSOQFANCNFSM6AAAAAAZBVGQF4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I moved esptool to the tools folder, because it made sense. I think releases should be fairly rare, so it's ok if they contain Kicad, firmware, and PC - all together. If someone wants the latest stuff they will probably be compiling things themselves anyway. Yes, Github Actions should be able to generate firmware and even gerberas. I have examples of such generation (with resulted files at the bottom) however I never figured out how to make it appear in releases. Still useful if someone just needs the latest bin. @AdamV3D 's fork would break in the sense that automated merging would stop being possible as it will have "unrelated history". |
I'm not too fussed about what goes where, as long as there is some logic to it and you let me know what I need to change. |
@zapta |
The repo size is approaching 1GB.
Can you move the /releases (analyzer.exe, etc) to github releases and rewrite git history while still not many people has forked it?
I also like putting PCB gerbers, pdfs and ibom in release as well.
The text was updated successfully, but these errors were encountered: