Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-22 Thread Dmitri Pal
periodic monthly on Wed during last 14 IMO it is cleaner and simpler and allows to express all the notions >>> we want to express. >>> >>> >>> See above. I really don't want intervals in the M-on grammar, since it >>> makes it extremely difficult to comprehend

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-22 Thread Jeff Schroeder
On Mon, Nov 22, 2010 at 1:35 PM, Dmitri Pal wrote: > Stephen Gallagher wrote: >> On 11/22/2010 12:22 PM, Dmitri Pal wrote >> >> septet-of-the-month = interval 1-5 >> > The septet is not used any more and should be removed, right? >> >> Yeah, I missed removing that. I've deleted it from the page no

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-22 Thread Dmitri Pal
Stephen Gallagher wrote: > On 11/22/2010 12:22 PM, Dmitri Pal wrote > >> septet-of-the-month = interval 1-5 > > The septet is not used any more and should be removed, right? > > Yeah, I missed removing that. I've deleted it from the page now. > > >> day-of-the-month-interval = interval day-of-the-m

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-22 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/22/2010 12:22 PM, Dmitri Pal wrote >> >> septet-of-the-month = interval 1-5 > > The septet is not used any more and should be removed, right? Yeah, I missed removing that. I've deleted it from the page now. > >> day-of-the-month-interval = in

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-22 Thread Dmitri Pal
Stephen Gallagher wrote: > I have updated the grammar page at > https://fedorahosted.org/sssd/wiki/HBAC_Grammar again. > > The main changes made are these: > > * Eliminate the arbitrary "singular" from monthly repetitions > * Add negative numbers for days of the month for counting from the end >

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-22 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have updated the grammar page at https://fedorahosted.org/sssd/wiki/HBAC_Grammar again. The main changes made are these: * Eliminate the arbitrary "singular" from monthly repetitions * Add negative numbers for days of the month for counting from

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-19 Thread Simo Sorce
On Fri, 19 Nov 2010 13:41:09 +0100 Jakub Hrozek wrote: > On Thu, Nov 18, 2010 at 03:17:02PM -0500, Simo Sorce wrote: > > On Thu, 18 Nov 2010 16:23:38 +0100 > > Jakub Hrozek wrote: > > > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA1 > > > > > > On 11/18/2010 02:24 PM, Simo Sorce wrote

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-19 Thread Jakub Hrozek
On Thu, Nov 18, 2010 at 03:17:02PM -0500, Simo Sorce wrote: > On Thu, 18 Nov 2010 16:23:38 +0100 > Jakub Hrozek wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 11/18/2010 02:24 PM, Simo Sorce wrote: > > > On Thu, 18 Nov 2010 07:21:04 -0500 > > > Stephen Gallagher wrote

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-18 Thread Simo Sorce
On Thu, 18 Nov 2010 16:23:38 +0100 Jakub Hrozek wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/18/2010 02:24 PM, Simo Sorce wrote: > > On Thu, 18 Nov 2010 07:21:04 -0500 > > Stephen Gallagher wrote: > > > >> Doing the forward septets is easy (1*x..7*x), but the reverse > >>

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-18 Thread Jakub Hrozek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/18/2010 02:24 PM, Simo Sorce wrote: > On Thu, 18 Nov 2010 07:21:04 -0500 > Stephen Gallagher wrote: > >> Doing the forward septets is easy (1*x..7*x), but the reverse septets >> are more complicated (since they would be (y-1*x..y-7*x), where y

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-18 Thread Simo Sorce
On Thu, 18 Nov 2010 08:37:32 -0500 Dmitri Pal wrote: > Simo Sorce wrote: > > On Thu, 18 Nov 2010 07:21:04 -0500 > > Stephen Gallagher wrote: > > > > > >> Doing the forward septets is easy (1*x..7*x), but the reverse > >> septets are more complicated (since they would be (y-1*x..y-7*x), > >> w

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-18 Thread Simo Sorce
On Thu, 18 Nov 2010 08:29:55 -0500 Dmitri Pal wrote: > Endi Sukma Dewata wrote: > > On 11/17/2010 3:21 PM, Dmitri Pal wrote: > >>> In a related note, we also discussed how to handle describing > >>> activity windows that cross the midnight boundary. It's my > >>> recommendation that we > >>> shou

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-18 Thread Dmitri Pal
Simo Sorce wrote: > On Thu, 18 Nov 2010 07:21:04 -0500 > Stephen Gallagher wrote: > > >> Doing the forward septets is easy (1*x..7*x), but the reverse septets >> are more complicated (since they would be (y-1*x..y-7*x), where y is >> the total number of days in the month (which also has to acco

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-18 Thread Dmitri Pal
Endi Sukma Dewata wrote: > On 11/17/2010 3:21 PM, Dmitri Pal wrote: >>> In a related note, we also discussed how to handle describing activity >>> windows that cross the midnight boundary. It's my recommendation >>> that we >>> should handle examples like the following by breaking them into two >>>

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-18 Thread Simo Sorce
On Thu, 18 Nov 2010 07:21:04 -0500 Stephen Gallagher wrote: > Doing the forward septets is easy (1*x..7*x), but the reverse septets > are more complicated (since they would be (y-1*x..y-7*x), where y is > the total number of days in the month (which also has to account for > leap years). > > I t

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-18 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2010 04:48 PM, Sumit Bose wrote: > On Wed, Nov 17, 2010 at 04:07:24PM -0500, Stephen Gallagher wrote: > After extended discussion, Simo, Ben and I discussed replacing this > week-of-the-month concept with a septet-of-the-month concept instead.

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-18 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2010 06:37 PM, Endi Sukma Dewata wrote: > On 11/17/2010 5:24 PM, Endi Sukma Dewata wrote: >> Will the user need to be aware of this issue? In other words, will the >> UI enforce the user to split a schedule that crosses midnight manually? >> >

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-17 Thread Endi Sukma Dewata
On 11/17/2010 5:24 PM, Endi Sukma Dewata wrote: Will the user need to be aware of this issue? In other words, will the UI enforce the user to split a schedule that crosses midnight manually? If yes, there are some issues: 1. Some schedules that have to be split because of local time zone can ac

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-17 Thread Endi Sukma Dewata
On 11/17/2010 3:21 PM, Dmitri Pal wrote: In a related note, we also discussed how to handle describing activity windows that cross the midnight boundary. It's my recommendation that we should handle examples like the following by breaking them into two separate accessTime attributes, one that des

Re: [Freeipa-devel] [SSSD] Proposed changes to the HBAC grammar

2010-11-17 Thread Dmitri Pal
Stephen Gallagher wrote: > During a discussion today about how to represent the HBAC grammar in the > FreeIPA GUI, it became apparent that there was a limitation in the > grammar. Specifically, it's not possible to describe in a non-ambiguous > way "The first Wednesday of the month". > > Right now,