#"Desert Island guide to daggerizing legacy projects" - Demo for community call

1 messages · Page 1 of 1 (latest)

charred swallow
#

@shut compass has graciously accepted to do a community demo this week, but is hitting a few content roadblocks.

He has a large theme that he wants to cover, so I am hoping we can help him find the exact part of the story that he should dive into.

@shut compass do you want to add a summary of where you'd like support or guidance? I can ping some people that I think will be best to help once you do.

shut compass
#

So I'm in a number of open source communities which have overly complicated CI tooling.
and I have been looking at ways to structure a migration to dagger.

#

Or rather looking at ways to use dagger to reduce the number of unfamiliar tools a new contributor or maintainer needs to manage.

charred swallow
#

Do you have an outline of what you were thinking about for your current demo? Maybe even just showing how you have or would migrate a single project? @thorny trout @warped basalt and I have thought about live streaming the "daggerization" of a project before, so maybe we could try it out this week!

shut compass
#
GitHub

A home for issues that are common to multiple cucumber repositories - GitHub - cucumber/common: A home for issues that are common to multiple cucumber repositories

GitHub

The code coverage tool for Python. Contribute to nedbat/coveragepy development by creating an account on GitHub.

GitHub

OKD Tekton Pipeline Definitions. Contribute to upstream-operators/okd-operator-pipeline development by creating an account on GitHub.

charred swallow
#

Kyle was already going to do help demo something this week, so maybe we could just try it out tomorrow together during our recordings session and both of you can pair on it? It would be fun and interactive.

shut compass
#

So kid, you say you wanna change the world with Dagger? OK, first you make a list of the Makefile targets, then you go after the Docker file, then the shell scripts ....

Something along the lines of Feathers' classic "Working effectively with legacy code"

#

And combine that with "making work visible", listing the key indicators (speed? simplicity? dependencies?)

thorny trout
shut compass
#

@thorny trout , I'm also open to any suggestions, of course.

charred swallow
shut compass
shut compass
#

@thorny trout , I guess I have a plan for how to break up the structure of a legacy repo,
maybe I should also add some guidance on the sequence of iterations?
For example:

  • Start by replacing the Dockerfiles (benefit: caching performance)
  • Next, replace the shell scripts (benefit: Simplicity, DevEx)
  • Then, look over the config data (maybe consider an abstraction layer to help with mock data?)
  • Finally, refactor the tests if necessary
thorny trout
# shut compass <@135620352201064448> , I guess I have a plan for how to break up the structure ...

Yup totally makes sense! A good source of inspiration might be Jeremy and Mark's talk from Rejekts back in November https://www.youtube.com/watch?v=tWWBzsZLrIw&t=16364s
They go through a pretty similar sequence

Welcome to the livestream of Cloud Native Rejekts NA 2023 in Chicago!

Cloud Native Rejekts is the b-side conference giving a second chance to the many wonderful, but rejected, talks leading into KubeCon + CloudNativeCon.

See the full schedule here: https://cfp.cloud-native.rejekts.io/cloud-native-rejekts-na-chicago-2023/schedule/

▶ Play video
shut compass