linuxbrew-core
dbmate
linuxbrew-core | dbmate | |
---|---|---|
15 | 25 | |
1,167 | 4,364 | |
- | - | |
10.0 | 8.1 | |
over 2 years ago | 14 days ago | |
Ruby | Go | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
linuxbrew-core
-
Ask HN: Solo-preneurs, how do you DevOps to save time?
I decided to take a few years off work to just build on what I'd like. Perhaps in a startup studio model, so I have a bias for having something that is easily reusable, and that uses tech someone else can pick up and run with easily. I'll probably be in the business of dev/infra tooling.
Currently going with a container image as the minimal deployable unit that gets put on top of a clean up to date OS. For me that's created with a Dockerfile using Alpine image variants. In a way I could see someone's rsync as an ok equivalent, but I'd do versioned symlinked directories so I can easily roll back if necessary if I went with this method. Something like update-alternatives or UIUC Encap/Epk: https://www.ks.uiuc.edu/Development/Computers/docs/sysadmin/.... Anyone remember that? I guess the modern version of Epkg with dependencies these days is https://docs.brew.sh/Homebrew-on-Linux. :-) Or maybe Nixpkgs: https://github.com/NixOS/nixpkgs?
Deployment-wise I've already done the Bash script writing thing to help a friend automate his deployment to EC2 instance. For myself I was going to start using boto3, but just went ahead and learned Terraform instead. So now my scripts are just simple wrappers for Docker/Terraform that build, push, or deploy that work with AWS ECS Fargate or DigitalOcean Kubernetes.
No CI/CD yet. DBs/backups I'll tackle next as I want to make sure I can install or failover to a new datacenter without much difficulty.
- Brew Disappearing After Install
-
How out-out-of-date are packages in OpenSUSE Leap?
If you need the absolute freshest development tools, also consider checking out Homebrew (easy) or Nix (more complicated). They're alternative package managers that will run happily alongside the default system stuff on most any Linux distro.
-
I want Debian, but newer. What are the best options?
I've been running testing for years, but have switched to targetting bullseye so I will be back on stable when it is released. However, I have started installing most packages from linuxbrew now. https://docs.brew.sh/Homebrew-on-Linux
-
I love the shapez.io dlc, but...
I've found using homebrew (for linux), it builds pretty easily: https://docs.brew.sh/Homebrew-on-Linux
-
Home Folder Package Manager?
homebrew on linux
-
Configuring self-signed SSL certificates for local development
The first thing you will need is to install mkcert which can be done via homebrew or homebrew for Linux.
- Does anyone use Homebrew on Linux Mint?
- An AUR like system for Ubuntu
-
Error when booting up
Yesterday I installed homebrew and I had to run some commands to export it on my path. This message used to be shown when I opened a terminal but I ignored it since I was bussy with work. Now it looks like I can't even login, any ideas?
dbmate
-
Ask HN: What tool(s) do you use to code review and deploy SQL scripts?
A regular code repo with the scripts (with pull/merge requests for review) and then a CI job that builds containers with something like dbmate https://github.com/amacneil/dbmate that can then be run against any staging/prod environment.
-
Level UP your RDBMS Productivity in GO
As we want to maintain the track of our changes to the DB, we are going to use migrations. In this case, we are going to use dbmate. But, you can use any other tool you want.
-
Rails 7.1 Released
> For example having database migrations built in etc.
I actually went the exact opposite route, at least when possible: https://github.com/amacneil/dbmate
Pure SQL migrations, regardless of the back end technology that you use, completely decoupled from how each framework/library views things and therefore not dependent on them (you could even rewrite the back end in another technology later on, if needed; or swap ORMs; or avoid issues when there's a major ORM version update).
It's really nice when you can generate entity mappings based on a live database, like with https://blog.jetbrains.com/dotnet/2022/01/31/entity-framewor...
So in my case, I can have:
* a DB that has migrations applied with dbmate, completely decoupled from any back end(s) that might use it
- FLaNK Stack Weekly 2 October 2023
-
How do your teams run DB migrations?
You can run dbmate as part of your CI/CD pipeline. You just keep a dbmate directory in your repo and deploy migrations with your code.
-
Working with TypeORM 0.3x with Nestjs - I wasn't aware so many people were facing issues with it
In general with ORMs, you will face a problem in one way or another. I ended up simply using https://github.com/gajus/slonik and https://github.com/amacneil/dbmate for migrations. My life is way much better since then.
-
what do you use for migrations? or how do you the sql tables and seeding?
I like dbmate, super simple and straightforward to use. For your specific use case, it can also be configured using your .env!
- GORM
-
New post: Is Prisma better than your 'traditional' ORM?
Would always go for a language agnostic migration tool, e.g. https://github.com/amacneil/dbmate to stay flexible and stay away from lock-in effects (besides sql).
- I greatly dislike ORMs, but I find myself wanting ORM agnostic SQL migration tools. What do you use to perform RDBMS table migrations outside of an ORM?
What are some alternatives?
homebrew-core - 🍻 Default formulae for the missing package manager for macOS (or Linux)
sqlite-bench - PostgreSQL & SQLite Speed Test
mkcert - A simple zero-config tool to make locally trusted development certificates with any names you'd like.
goose - A database migration tool. Supports SQL migrations and Go functions.
pacstall - An AUR-inspired package manager for Ubuntu
Flyway - Flyway by Redgate • Database Migrations Made Easy.
golang-samples - Sample apps and code written for Google Cloud in the Go programming language.
liquibase - Main Liquibase Source
homebrew-bundle - 📦 Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store.
migra - Like diff but for PostgreSQL schemas
homebrew-portable-ruby - đźš— Versions of Ruby that can be installed and run from anywhere on the filesystem.
SQLBoiler - Generate a Go ORM tailored to your database schema.