-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packaging for OpenSUSE distros #29
Comments
Hi, thanks for working on this! I suggest to have a look at the Arch Linux and Nix packages, these both separate downloading and building so that building happens without Internet access. |
It's the least I could do!
Ahh perfect, I can do it that way, thank you! |
I have this tab open at the front of my to-do list of open issues I need to deal with (44 tabs in this window!), and noticed that it says it's been 3 weeks since I last commented. I thought I should drop by and take a moment to explain that I've had some medical issues, combined with some other PC issues (those other 43 tabs), keeping me very busy and my availability very limited, so I've been delayed in getting this done. I apologise for the delay. I will take care of this as soon as possible, though. I just felt an explanation was in order. Again, my apologies for the delay. |
Hi, there is nothing at all to apologize for. Please forget about this issue and concentrate on your well being. I am going to close this issue, but let me know if or when you would like to continue this. Best wishes! |
Thanks mate, you're very kind. Let's leave this issue closed so that it's not making a mess on your github and I'll keep the tab open and let you know when the package is ready, if you don't mind staying subscribed to the issue. I definitely will be packaging this for opensuse, and soon - even if only for my own use. Slightly off-topic: I made this little bash script that maybe you or others might find useful, too. Not part of the opensuse packaging, just something I made for myself, but I've used it across a few systems now, and I thought maybe you or other users might find it handy? Basically it's so that I don't have to remember the proper steps in readme.md and can 'no-brainer' my way to using the tool, even on systems where I don't know what partition is what. :) It just takes care of mounting the appropriate volume and then launching your tool. I put it in the directory with I was considering an option to mount read-only for a "look but don't touch" option, but it's commented out as I found your tool to be sufficiently safe that I never bothered to finish that part (if I try to delete, btdu prompts for confirmation anyway) You can just ignore this, or if you want to use it in your repo, feel free to modify it in any way you see fit, or whatever... I just have found it useful for myself, and I thought, hey, might as well put it somewhere aside from my own disks :) No licensing or anything, so you are free to do whatever you like with it, including taking it and putting your name on it, or laughing at it and forgetting about it 😆 I'll look forward to speaking to you again very soon.
|
Opening a new issue so as not to hijack #25
You are most welcome. I'm certainly interested in helping to get this into OpenSUSE's distros. The first step in getting it into OpenSUSE will be that I will package it in my personal public repository on their build server, and then from there I submit it to the main repo and make any required adjustments until they are satisfied with the package, and then upon acceptance it will be available in the distros' package managers
The one thing I know will be the 'trick' is that this distro builds packages in RPM format, and adheres to redhat's practice of building from source on an 'island' which means no binaries in sources and notably no internet access during the build, so I'm sure that dub won't work in the usual way. For node and rust (npm/cargo) the way this is dealt with, is to 'vendor' the packages fetched by the build tool, into an additional source archive, and during the build, run those tools in a manner that prevents them from attempting to go online.
I did have a quick look at this and found that dub had a similar option to npm's
--offline
argument, but I'm not 100% across it yet - specifically I'm not sure how to get it to download the remote sources to form the 'vendored source' archive, and then where to put them so it will access them. I'm confident it's documented, but if you know the way to do this off the top of your head, I'd be very grateful for any tips - but if you're unsure, don't worry, leave it with me and I'll figure it out and ask here if I get stuck.I do have some health issues so I am a little unreliable with times, so I may not be the fastest, but the way I see it, I owe you several hours of fixing my PC that would have happened without btdu to save me, so this is a high priority to me.
The text was updated successfully, but these errors were encountered: