Search found 18 matches
- Fri Sep 20, 2024 11:42 pm
- Forum: EasyOS
- Topic: The Nix package manager
- Replies: 23
- Views: 2363
Re: The Nix package manager
What I do really like about the declarative approach in Nix is that everything is in one place, and I can comment everything - todos, why I've installed something, what dependencies it uses, what else I've tried or might want to try, etc. Of course, I do also miss the imperative approach of just ...
- Fri Sep 20, 2024 10:05 pm
- Forum: EasyOS
- Topic: The Nix package manager
- Replies: 23
- Views: 2363
Re: The Nix package manager
I've been setting up a Nixos system recently, after many years running Puppy (only machine in regular use here for the last few years runs Fatdog, but it just gets used to play stuff on the TV), several years of Arch, and only real experience of other distros being via WSL. I was attracted by the ...
- Fri Sep 20, 2024 8:57 pm
- Forum: EasyOS
- Topic: The Nix package manager
- Replies: 23
- Views: 2363
Re: A tool to build an Appimage from a program by means of Nix
Source : https://github.com/ralismark/nix-appimage Command to create an appimage from a Nix flake (I'm not sure flake is the good term here) nix bundle --bundler github:ralismark/nix-appimage nixpkgs#hello Apparently AppImages potentially have dependency issues, but this tool can create AppImages ...
- Wed Jul 10, 2024 9:02 am
- Forum: Programming
- Topic: Is there a "VCS" where each version update is an arbitrary script
- Replies: 12
- Views: 2024
Re: Is there a "VCS" where each version update is an arbitrary script
Sorry, one more.. Shiv.. Unlike "CVS Lite" it has branches, staging, and is generally more "modern" and "git-like" in its features. Also has a nice walkthrough. https://shatterealm.netlify.app/programming/2021_01_02_shiv_lets_build_a_vcs Link is now dead, but available at https://web.archive.org ...
- Tue Dec 13, 2022 9:44 am
- Forum: Programming
- Topic: Is my bash broken? (Solved)
- Replies: 4
- Views: 316
Re: Is my bash broken?
Is the syntax in the manual wrong, or is there something weird about my bash or something in my environment? The syntax in the manual is wrong. Great, thanks. Of course, for the potential benefit of others, if I only want to confirm that the exit code is zero, or only want to confirm that the exit ...
- Tue Dec 13, 2022 8:40 am
- Forum: Programming
- Topic: Is my bash broken? (Solved)
- Replies: 4
- Views: 316
Re: Is my bash broken?
Perhaps I'm not following what you mean - neither of these syntaxes work: # if [ qpdf --is-encrypted '*3*' ]; then echo "yes"; else echo "no"; fi -bash: [: --is-encrypted: binary operator expected no # if [ 'qpdf --is-encrypted *3*' ]; then echo "yes"; else echo "no"; fi yes # if [ 'qpdf --is ...
- Tue Dec 13, 2022 7:24 am
- Forum: Programming
- Topic: Is my bash broken? (Solved)
- Replies: 4
- Views: 316
Is my bash broken? (Solved)
qpdf has some options which test various things about a pdf file and output a return code for easy scripting. The manual for qpdf suggests that I can use code like this: if [ qpdf --is-encrypted *3* ]; then echo "yes"; else echo "no"; fi It does not work (see second to last command below). Is the ...
- Tue Aug 16, 2022 5:11 am
- Forum: Programming
- Topic: Is there a "VCS" where each version update is an arbitrary script
- Replies: 12
- Views: 2024
Re: Is there a "VCS" where each version update is an arbitrary script
Yeah, I like that last link. Actually, I think it was misleading of me to talk about a "VCS" in the title (and even the version scripts don't actually need to be in a VCS). It isn't a package manager either. I literally called it `updater`, but maybe system administrators have a technical term for ...
- Thu Jun 16, 2022 7:50 am
- Forum: Programming
- Topic: Is there a "VCS" where each version update is an arbitrary script
- Replies: 12
- Views: 2024
Re: Is there a "VCS" where each version update is an arbitrary script
FWIW I'll probably use it at some point to administer real linux installs, but my use case at the moment is to simply administer WSL installs on multiple computers. It is run automatically whenever a particular tool in the WSL install is used. Any time I want to change anything on all the installs I ...
- Wed Jun 15, 2022 6:14 am
- Forum: Programming
- Topic: Is there a "VCS" where each version update is an arbitrary script
- Replies: 12
- Views: 2024
Re: Is there a "VCS" where each version update is an arbitrary script
Proof of concept: #! /bin/bash # Get the script name; we will use it to store configuration/version data # We won't bother making sure the script is safe for anything exotic like spaces in the path SCRIPT_NAME=${0##*/} # like basename without requiring basename # TODO: should check the updater isn't ...
- Mon Jan 10, 2022 1:48 am
- Forum: Programming
- Topic: Is there a "VCS" where each version update is an arbitrary script
- Replies: 12
- Views: 2024
Re: Is there a "VCS" where each version update is an arbitrary script
If it is desirable, the broken update can also be overwritten Of course I realise that this would generally be considered to be very bad practice - for my purposes I don't care, but now that I've thought more about it I'll probably make it also record the date and time the current version was ...
- Mon Jan 10, 2022 1:33 am
- Forum: Programming
- Topic: Is there a "VCS" where each version update is an arbitrary script
- Replies: 12
- Views: 2024
Re: Is there a "VCS" where each version update is an arbitrary script
What would your system do about faulty builds If an update is found to have broken something, another update will need to be created to unbreak it. If it is desirable, the broken update can also be overwritten (with one that perhaps doesn't actually do anything) so that any systems where the broken ...
- Mon Nov 15, 2021 6:27 pm
- Forum: Programming
- Topic: Is there a "VCS" where each version update is an arbitrary script
- Replies: 12
- Views: 2024
Re: Is there a "VCS" where each version update is an arbitrary script
Yeah. But I was thinking of something that supports checking for updates to a package from the command line and installing them if available. I didn't think petget supports that, but I could be wrong. Also I've edited my post to clarify I'm particularly interested in whether any package management ...
- Mon Nov 15, 2021 11:33 am
- Forum: Programming
- Topic: Is there a "VCS" where each version update is an arbitrary script
- Replies: 12
- Views: 2024
Is there a "VCS" where each version update is an arbitrary script
Hi guys, I was thinking of writing a very simple script to do version control, but not as we know it. The idea is to store a version number in a file. The changes in each version will be defined by an manually created script, which can do arbitrary things - install software, create, delete or edit ...
- Fri Jan 29, 2021 8:58 pm
- Forum: Software
- Topic: FreeTube SFS - watch videos
- Replies: 22
- Views: 4398
- Mon Jan 25, 2021 10:06 am
- Forum: Software
- Topic: FreeTube SFS - watch videos
- Replies: 22
- Views: 4398
Re: FreeTube SFS
Doesn't run because of missing libatk-bridge-2.0.so.0
Does Fatdog have some other repositories I need to load or something to find it?
Or is it provided by some other package (a browser?) that everyone happens to have installed?
- Fri Jan 15, 2021 7:10 am
- Forum: REQUESTS
- Topic: Dibuja - a simple gtk raster paint program
- Replies: 1
- Views: 613
Re: Dibuja - a simple gtk raster paint program
I don't know how I missed it, but it does already support drawing arrows. And a polyline tool has now been added too! Fantastic.
- Fri Dec 18, 2020 6:22 am
- Forum: REQUESTS
- Topic: Dibuja - a simple gtk raster paint program
- Replies: 1
- Views: 613
Dibuja - a simple gtk raster paint program
Hi guys, remember me? I've signed up to this forum specifically to post this. It's not a request for myself, but traditionally a lot of people complained about not being able to find a good alternative to MS paint i.e. a very simple bitmap graphics editor. It seems a number of new options have been ...