Partybus DB migrations to run prints the object not the versions
Nobody has claimed this yet.
- Dominant language
- Erlang
- Stars
- 303
- Forks
- 211
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 5
Description
Chef Server Version
14.8
Platform Details
Ubuntu 20.04
Error
Partybus isn't printing out the versions to run correctly:
[Infra Server Upgrade] - Latest PostgreSQL Database Migration Available: 1.36
[Infra Server Upgrade] - Database PostgreSQL Database Migrations to Run: [#<Partybus::MigrationFile:0x000055969b8fbce0 @path="/opt/opscode/embedded/upgrades/001/036_reindex_postgres13.rb", @major=1, @minor=36>]
[Infra Server Upgrade] - Current PostgreSQL Database Migration Version: 1.35
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing Partybus's migration logging around /opt/opscode/embedded/upgrades/001/036_reindex_postgres13.rb and compare the migration object output with the expected version list. Reproduce the upgrade output and confirm that the migrations-to-run line prints versions rather than the Partybus::MigrationFile object representation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, ruby
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100