Comments (49)
@tim77 What about CentOS 8?
from nohang.
@tim77 psi-monitor has been improved, see https://imgur.com/a/ENYTBYd
Please upgrade pkg
from nohang.
Maybe because i build from latest git snapshot, not release?
v0.1 doesn't have version file, but v0.2 will have it.
from nohang.
Thank you for the packages.
from nohang.
Done. BTW i am still waiting for someone to review my package and then i can push it in main repos...
from nohang.
@tim77 Please make a rebuild. The demon received an important update related to the acceleration of GUI notifications 05ae755
from nohang.
you released new, tagged version
OK, I want to tag, but
TODO: write a docs and else some fixes
from nohang.
v0.2 will have it.
Is there an ETA for that, btw? I want to get nohang into official openSUSE repositories and @tim77 does such great work on snapshot builds, I obviously want to base my work in his.
Packaging 0.1 seems antiquated after only a few months and using git snaphots is discouraged by openSUSE maintainers.
from nohang.
Is there an ETA for that, btw?
I hope to make a release this month.
from nohang.
I hope to make a release this year.
from nohang.
It's not empty if installed via git clone && make.
from nohang.
Maybe because i build from latest git snapshot, not release?
from nohang.
No. It does not matter.
install -d $(DESTDIR)$(CONFDIR)/nohang
-git describe --tags --long --dirty > version
-install -m0644 version $(DESTDIR)$(CONFDIR)/nohang/version
https://github.com/hakavlad/nohang/blob/master/Makefile
Maybe I should remake Makefile. But I don't know how.
from nohang.
There is no such problem with AUR https://aur.archlinux.org/packages/nohang-git/ package, version is not empty and --version works well.
from nohang.
I found what cause this:
git describe --tags --long --dirty > version
fatal: not a git repository (or any of the parent directories): .git
This because i downloaded sources via git API, not git clone. Cloning repo and any internet access during build process not allowed in Fedora. But we can easily fix this and add this ver info in spec file during build RPM.
from nohang.
Thank you. By the way, version on you package shows v0.1-4c1b5ee
instead of v0.1-435-4c1b5ee
.
from nohang.
BuildRequires: systemd
%else
BuildRequires: systemd-rpm-macros
%endif
Requires: logrotate%{?_isa}
%if 0%{?fedora} || 0%{?rhel} >= 8
Recommends: libnotify%%{?_isa}
%endif
%{?systemd_requires}
logrotate and libnotify are optdepends and not required by default. Systemd gives best expirience, but it is not depend
/recommend
.
from nohang.
Thank you. By the way, version on you package shows
v0.1-4c1b5ee
instead ofv0.1-435-4c1b5ee
.
Usually this enough. But if this critical go discuss this there and ask other maintainers how to do this better.
from nohang.
logrotate and libnotify are optdepends and not required by default. Systemd gives best expirience, but it is not
depend
/recommend
.
OK we can made logrotate
as optional dependency too and own this dirs by nohang
as well i think.
from nohang.
@tim77 I'd like to see the next packages:
nohang
(only release versions, stable)nohang-devel
(unstable, maybe with autobuild)nohang-desktop
with config optimized for desktop, release versions
Is it possible?
from nohang.
I think this could be done easily: IMO best way to do this if you did two separate build in makefile (nohang and nohang-desktop) and this both version i split as sub packages in rpm spec file. And push this both version to main Fedora repos.
And we can automatize build process in COPR for nohang-devel
from nohang.
8dacba0 done
from nohang.
@tim77 Please make a rebuild.
from nohang.
Temp version here. We need to make things better there and automatize desktop case... :) WIP.
from nohang.
how can I install nohang-desktop?
from nohang.
sudo dnf install nohang-desktop -y
But you need manually replace or run nohang with desktop config file included into nohang-desktop
package. We need to automatize this but better if we do this without %post
scripts.
from nohang.
But you need manually replace
How to get it out of the box?
We need to automatize this but better if we do this without %post scripts.
How can we do this?
better if we do this without %post scripts
Why?
from nohang.
@tim77 Can I help you?
from nohang.
Yes, IMO together we can do better. :) Check again this post and go discuss this there where other maintainers can help us too.
from nohang.
@tim77 GUI notifications is broken, please make a rebuild.
Also nohang-desktop doesn't work (it uses non-desktop config).
from nohang.
@tim77 What about CentOS 8?
from nohang.
Also nohang-desktop doesn't work (it uses non-desktop config).
Yes, that was i what i talked about earlier. Easy to fix this via %post
install scrips but we lose another useful feature by doing this - %config(noreplace)
. Definitely help wanted there, how to handle this better...
For now user need to manually replace config file with desktop config.
from nohang.
What about changing %install?
from nohang.
Recommends: %{name}-desktop
Why?
from nohang.
What about changing %install?
Then we lost regular non-desktop version. Need to made to separate packages then.
Recommends: %{name}-desktop
Why?
Why what? It is optional weak dependency.
from nohang.
Why it is in Recommends? Why nohang depends on nohang-desktop?
from nohang.
What about 2 independant packages?
from nohang.
What about 2 independant packages?
Need to open new review-request, waiting, waiting, waiting...
Why it is in Recommends? Why nohang depends on nohang-desktop?
- One more time - it not depends, it recommends it and could be skip easily if user wants.
- It helps user with such questions.
For Fedora and RHEL8 possible to supplement already installed packages so maybe good idea to improve this case when DE or Xorg installed on target system.
Maybe better to made two systemd units for desktop and non desktop? :) Just asking.
from nohang.
@tim77 Could you make a rebuild, please?
from nohang.
Yep. I seen yesterday this #56 Not critical? It would be nice if you released new, tagged version which already tested.
from nohang.
#56 Seems like it is an old output bug, not critical
from nohang.
No rush then. :) Works for me and much more predictable compared to earlyoom.
from nohang.
much more predictable compared to earlyoom
Please write your review here https://pagure.io/fedora-workstation/issue/98
from nohang.
Using git snaphots is discouraged by Fedora as well. So agree with @KAMiKAZOW nohang should switch to releases/tags.
from nohang.
Packaging 0.1 seems antiquated after only a few months
BTW nohang 0.1 released more than year ago.
For release 0.2, I want to solve some problems and write documentation. Right now, on my localhost, the daemon is undergoing significant changes.
I want to close these issues to release:
from nohang.
Maybe I should close only #22 and release.
from nohang.
@KAMiKAZOW How to install nohang on openSUSE and on SLE? Could you make a PR to fix README.md, please?
from nohang.
It would be easier if you made a proper release, then I could submit it to the distribution itself.
from nohang.
@KAMiKAZOW Congratulations! https://github.com/hakavlad/nohang/releases/tag/v0.2.0
Also maybe you want to package new tools (prelockd
, memavaild
, uresourced
), see https://github.com/hakavlad/nohang#solution
from nohang.
Related Issues (20)
- Unable to get warning notifications HOT 12
- Log more information when warning threshold is exceeded HOT 2
- TypeError
- Spurious warnings with small swap HOT 4
- post_soft_action_delay not actually used HOT 6
- nohang:1180: SyntaxWarning: "is" with a literal. Did you mean "=="? HOT 5
- Double GUI notification
- do not kill calamares no matter the memory situation HOT 3
- Configuration not working on Ubuntu HOT 4
- psi2log: to wide columns HOT 6
- Questions about badness adjustments and oom-sort HOT 1
- ignore_positive_oom_score_adj option may not work properly
- tune virtual memory HOT 1
- .deb installation throws a scary warning HOT 2
- Interactions with MGLRU HOT 15
- Whitelisting a process by name HOT 11
- nohang on Debian (package from repo) starts with nohang.conf and nogang-desktop.conf at the same time HOT 4
- print_statistics is confusing. Disable it by default?
- On CentOS, nohang package should specify dependency on python3 HOT 1
- Setting memory limits by cgroup HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nohang.