blob: 48ddee1003f6ed05eea4e981336055da7f281ceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Suckless upgrade workflow</title>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Suckless upgrade workflow</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
</head>
</head>
<body>
<div id="nav-container" class="container">
<ul id="navlist" class="left">
<li >
<a href="/" class="link-decor-none">hme</a>
</li>
<li class="active">
<a href="/log/" class="link-decor-none">log</a>
</li>
<li >
<a href="/projects/" class="link-decor-none">poc</a>
</li>
<li >
<a href="/about/" class="link-decor-none">abt</a>
</li>
<li><a href="/feed.xml" class="link-decor-none">rss</a></li>
</ul>
</div>
<main>
<div class="container">
<div class="container-2">
<h2 class="center" id="title">SUCKLESS UPGRADE WORKFLOW</h2>
<h6 class="center">30 NOVEMBER 2025</h5>
<br>
<div class="twocol justify"><p>Workflow for managing suckless patches across upgrades:</p>
<p>Initial setup:</p>
<ul>
<li>Clone from suckless</li>
<li>Reset to stable tag</li>
<li>Set push URL to my repo (git.asciimx.com)</li>
<li>Pull from upstream, push to mine</li>
</ul>
<p>Config changes only:</p>
<ul>
<li>Edit config.h (or let make generate it)</li>
<li>make clean install</li>
<li>Commit, push</li>
</ul>
<p>dwm/slstatus installs:</p>
<ul>
<li>Can’t replace running binaries</li>
<li>Kill dwm (Mod+Shift+q)</li>
<li>Switch to tty (Ctrl+Alt+F1 on OpenBSD)</li>
<li>make install</li>
<li>Back to X (Ctrl+Alt+F5)</li>
</ul>
<p>Upgrades:</p>
<ul>
<li>git pull –rebase</li>
<li>git rebase -i to drop commits between my patch and new stable</li>
<li>Keep only: my patches + new stable tag + old history</li>
<li>Install, commit, push</li>
</ul>
<p>Example:</p>
<p>Before: [my patch] -> [6.5] <br />
After pull: [my patch] -> [random commits] -> [6.6] -> [old stuff] -> [6.5] <br />
After rebase: [my patch] -> [6.6] -> [old stuff] -> [6.5]</p>
<p>Note: This keeps patch history clean while staying current.</p>
</div>
<p class="post-author right">by W. D. Sadeep Madurange</p>
</div>
</div>
</main>
<div class="footer">
<div class="container">
<div class="twelve columns right container-2">
<p id="footer-text">© ASCIIMX - 2025</p>
</div>
</div>
</div>
</body>
</html>
|