• 1 Post
  • 48 Comments
Joined 1 year ago
cake
Cake day: July 28th, 2023

help-circle





  • I agree, writing meaningless tests helps nobody and just creates extra work everyone. Unit tests should prove functionality and integration tests act as a vise. Much like you said, if a test breaks in that scenario, then you know something in another class has violated that contract. Good tests will have meaningful names and prove functionality, especially in the backend where it is especially important…

    You mention (what I would consider) a bad practice of allowing merges without review. While that should be possible on personal projects with only one dev, strict review guidelines should exist so that nobody can just “push to prod”. CICD is your friend - use it so that staging and prod never break. Again, I’m used to working on systems used by scores of millions of users so I appreciate forced automated validation. Nobody likes dumb breaks on a Friday before vacation.













  • Oh gotcha! Yeah, git merge upstreamNane branchName is the right method. Just be aware that you might have a whole host of conflicts to resolve if there’s been a significant amount of time in your branch.

    One thing I like doing is creating a feature branch, then branching off that for very specific feature work. Then I try to complete that feature quickly and merge that into my feature branch and keep that up to date every day with the updated branch it was forked from. That way, I’m never too far behind production changes and the merge conflicts are kept at a minimum.



  • thisisawayoflife@lemmy.worldOPtoFediverse@lemmy.worldBandcamp... What now?
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    11 months ago

    Yeah, I feel like there needs to be a solution to this. Thankfully, artists don’t generally have hugely enormous catalogs that would take up terabytes of space (my entire collection is less than 400GB, which is many, many times larger than any single recording artists catalog, even the Beatles).

    One rub I have with limited downloads is that memory of broken CDs. I bought a mobile app that is about $200 and they limit the number of times you can request are-download before you have to buy another license and I think it’s messed up. I’ve had to store that APK on multiple flash drives, off-site, etc.