Add functionality for publishing "dev" and "unstable" packages in Freight #15
Labels
No Label
bug
documentation
duplicate
enhancement
help wanted
invalid
maintenance
peach-lib
peach-network
peach-oled
peach-stats
peach-web
question
refactor
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: PeachCloud/peach-package-builder#15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So while doing development, I've been cheating a bit, in terms of using freight.
Sometimes, I use rsync to copy over code to the vps that hasn't been merged into master yet (or may not even be fully tested), and then I increment the version number and use peach_package_builder to build packages from this code, by not passing the -d command (so that the local code is used for the build).
This is useful to me sometimes, because then I can apt-get install the package onto my pi. Or use new code for building an image (which uses apt-get during image building).
But its cheating, because if we were "live" and had a bunch of people using peach cloud out there, it wouldn't be good to publish unstable packages like that,
and when someone runs "apt-get update" or "peach-config update" they would actually pull down the unstable packages!
I'm not sure what the best solution is.
For a lot of development, I can rsync pacakges directly to the pi and test them like that (separate from Freight). But sometimes it seems nice to be able to build something as a freight package and test that it actually works in its package form. For testing one can also build the .deb without adding to freight, and then manually download and install the .deb. This is a bit slow though .
Three possible solutions:
just some things I'm thinking about.. not really sure .. for now I may continue cheating sometimes