You are not logged in.

#1 2017-05-01 02:31:02

amish
Member
Registered: 2014-05-10
Posts: 470

When does AUR notification trigger? On commit/push or version change?

I am planning to make several commits to one of AUR packages that I maintain.

Idea is to use "git" to keep track of exact changes. (adding one feature at a time)

git commit; git push.

But I do not intend to annoy people who have activated "Enable Notification" for that AUR package.

I do not want them to get email notification for those changes.

What I want is once all changes are made, I could bump the PKGBUILD pkgver/pkgrel version and people will get notified.

So just wanted to know if that's how it is?

i.e. when does AUR system send notification to people monitoring package?

Does it send notification on each git commit / push?

Or does it send notifcation on ANY change to PKGBUILD?

Or it sends notification ONLY on changes to pkgver or pkgrel inside PKGBUILD?

Anyone has idea?

Thanks in advance

Last edited by amish (2017-05-01 02:32:51)

Offline

#2 2017-05-01 02:48:37

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: When does AUR notification trigger? On commit/push or version change?

Local commits do not trigger notification because there is no communication with the server.
I expect that notifications are only triggered when the pkgver or pkgrel are bumped and pushed, but maybe there are some cases (all?) where simply pushing creates a notification.

In any case, if you plan to make several changes, make them all at once (using sequential local commits if you really think it's appropriate) and then push the package when it's ready.

What exactly are these different "features" that you want to add?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2017-05-01 03:52:04

amish
Member
Registered: 2014-05-10
Posts: 470

Re: When does AUR notification trigger? On commit/push or version change?

I am not git expert but when I did one commit - it did not allow me to do next commit without pushing previous commit.

i.e.
git commit -m 1st
git commit -m 2nd
This gave error

git commit -m 1st
git push
git commit -m 2nd
This worked.


Did I miss anything?

Offline

#4 2017-05-01 04:02:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,540

Re: When does AUR notification trigger? On commit/push or version change?

"gave error" tells us nothing.

Offline

#5 2017-05-01 04:27:37

amish
Member
Registered: 2014-05-10
Posts: 470

Re: When does AUR notification trigger? On commit/push or version change?

@Xyne - reply to your comment in webmin AUR package.

Yes I just took ownership of this package few days back.

That is why I posted here because PKGBUILD appears to be mess.

I dont want to make bulk changes all at once to PKGBUILD because if something goes wrong then it will be difficult to debug.

I prefer small small changes as I get time so that I can keep track of it easily.

But more changes I make more "notifications" it will trigger, which might annoy people monitoring the package.

And hence I posted query in this thread just to make sure that notifications will not be sent if I keep updating PKGBUILD (or any source)

Offline

#6 2017-05-01 04:33:47

amish
Member
Registered: 2014-05-10
Posts: 470

Re: When does AUR notification trigger? On commit/push or version change?

@Scimmia I know it does not help.

But currently I can not "git commit" and find out what actual error it was, as I am still making changes.

So I just posted "gave error" - just incase someone could figure out what could be the issue.

Will post error message when I run it next time (and if such situation arises)

Offline

#7 2017-05-01 04:49:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,540

Re: When does AUR notification trigger? On commit/push or version change?

So Xyne's point stands for now. Make your changes locally, in however many commits you want, and push them all at once. This is very standard with git.

Offline

#8 2017-05-01 09:56:20

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: When does AUR notification trigger? On commit/push or version change?

I only see 3 types of notifications from aur in my mail :

- when a comment is added
- when package is deleted
- flagged out-of-date (only maintainer & co-maintainer get those)

Afaik git push doesn't generate an aur notification .


Aside from that, I agree with scimmia .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2017-05-01 10:25:34

amish
Member
Registered: 2014-05-10
Posts: 470

Re: When does AUR notification trigger? On commit/push or version change?

I get this type of emails for packages which I dont own / maintain but where I have clicked on "Enable notification"

Subject: AUR Package Update: perl-text-csv-xs

jnbek [1] pushed a new commit to perl-text-csv-xs [2].

If you no longer wish to receive notifications about this package,
please go to the package page [2] and select "Disable notifications".

[1] https://aur.archlinux.org/account/jnbek/
[2] https://aur.archlinux.org/pkgbase/perl-text-csv-xs/


Use of word "commit" confused me in to thinking that every time I do a commit - everyone will get an email alert.

Also I just did "git commit" two times and it worked without "git push" (I dont know why I got error previously)

So that solves my purpose. However I would still like to know answer to my original question out of curiosity. (but its not so urgent anymore)

Last edited by amish (2017-05-01 10:28:24)

Offline

#10 2017-05-01 10:31:47

amish
Member
Registered: 2014-05-10
Posts: 470

Re: When does AUR notification trigger? On commit/push or version change?

@Lone_wolf - [Off topic]

If you go to "My account" page in AUR, you get these options

Notification settings:

Notify of new comments:
Notify of package updates:
Notify of ownership changes:

May be you have disabled package update notification.

Last edited by amish (2017-05-01 10:32:25)

Offline

#11 2017-05-01 11:17:40

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,839
Website

Re: When does AUR notification trigger? On commit/push or version change?

I think these options must be disabled by default, or they are only enabled by default on new accounts. I'm pretty sure that I didn't disable these notifications myself, but I only get the same notifications as L_W. Thanks for pointing them out, amish.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB