Commit 070e1d0
Add RPM support and Cloudsmith publishing for Linux packages
This commit introduces comprehensive RPM package support alongside existing DEB packages,
migrates to nfpm for package building, and adds automated Cloudsmith publishing.
Package Building Changes:
- Migrated from dpkg-deb to nfpm for both DEB and RPM package creation
- Added makeInstallerRpm() function in installer.ts using shared nfpm configuration
- Created RPM-specific post-install and post-remove scripts in package/scripts/linux/rpm/
- Added js-yaml import for generating nfpm configuration files
- Implemented architecture mapping (DEB: amd64/arm64, RPM: x86_64/aarch64)
GitHub Actions Workflow Improvements:
- Consolidated 4 separate Linux installer jobs into single matrix job (make-installer-linux)
- Matrix: arch=[x86_64, aarch64] × format=[deb, rpm]
- Reduced workflow from ~160 to ~60 lines for Linux installers
- Added nfpm installation step (downloads binary from GitHub releases, version 2.43.1)
- Updated all artifact references to use new naming: Linux-{format}-{arch}-Installer
Cloudsmith Publishing:
- Added cloudsmith-push job for automated package repository publishing
- Publishes to both "open" and "pro" Posit repositories
- Uses matrix strategy: 2 archs × 2 formats × 2 repos = 8 push operations
- Configured with any-distro/any-version for broad compatibility
Build System Updates:
- Added make-installer-rpm command to bld.ts
- Updated all job dependencies (publish-release, cleanup-when-failure, docker-push)
- Updated checksum generation and release file paths for new artifact names
This enables users to install Quarto via standard package managers (apt, yum, dnf, zypper)
from Posit's Cloudsmith repositories after configuring the appropriate repository source.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 22ecd3c commit 070e1d0
File tree
5 files changed
+306
-137
lines changed- .github/workflows
- package
- scripts/linux/rpm
- src
- linux
5 files changed
+306
-137
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
242 | 245 | | |
243 | 246 | | |
244 | 247 | | |
245 | | - | |
| 248 | + | |
246 | 249 | | |
247 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
248 | 255 | | |
249 | 256 | | |
250 | 257 | | |
| |||
258 | 265 | | |
259 | 266 | | |
260 | 267 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
| 268 | + | |
292 | 269 | | |
293 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
294 | 274 | | |
295 | 275 | | |
296 | 276 | | |
297 | 277 | | |
298 | | - | |
| 278 | + | |
299 | 279 | | |
300 | 280 | | |
301 | 281 | | |
302 | 282 | | |
303 | 283 | | |
304 | | - | |
| 284 | + | |
305 | 285 | | |
306 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
307 | 304 | | |
308 | 305 | | |
309 | 306 | | |
310 | | - | |
311 | | - | |
| 307 | + | |
| 308 | + | |
312 | 309 | | |
313 | 310 | | |
314 | 311 | | |
| |||
595 | 592 | | |
596 | 593 | | |
597 | 594 | | |
598 | | - | |
599 | | - | |
| 595 | + | |
600 | 596 | | |
601 | 597 | | |
602 | 598 | | |
| |||
662 | 658 | | |
663 | 659 | | |
664 | 660 | | |
665 | | - | |
| 661 | + | |
666 | 662 | | |
667 | 663 | | |
668 | 664 | | |
669 | | - | |
| 665 | + | |
670 | 666 | | |
671 | | - | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
672 | 676 | | |
673 | 677 | | |
674 | 678 | | |
| |||
692 | 696 | | |
693 | 697 | | |
694 | 698 | | |
695 | | - | |
696 | | - | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
697 | 703 | | |
698 | 704 | | |
699 | 705 | | |
| |||
705 | 711 | | |
706 | 712 | | |
707 | 713 | | |
708 | | - | |
709 | | - | |
| 714 | + | |
710 | 715 | | |
711 | 716 | | |
712 | 717 | | |
| |||
763 | 768 | | |
764 | 769 | | |
765 | 770 | | |
766 | | - | |
| 771 | + | |
767 | 772 | | |
768 | 773 | | |
769 | 774 | | |
770 | 775 | | |
771 | 776 | | |
772 | 777 | | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
| |||
0 commit comments