AdrianPepper's List of Mistakes to Avoid in Sponsors Data Editing

(Don't) omit units for disk quota

The default unit for disk quota is K or around 1000 bytes. If you mean to give a user, say, 30G but instead write Quota: 30 with no G, the quota allocated to them will be much less than you expect.

(Don't) forget to run sponsor_resources

A common mistake can be to rush ahead to run accounts-client machine before you have done sponsor_resources. That can be a frustrating waste-of-time.

AdrianPepper has a personal program named willberesources which takes the current sponsors data and produces representative output in a single file of lines with colon-separated fields. Two such files can easily be compared using diff; the changes can usually be seen to correspond to what is wanted. A problem is that doing that occasionally causes AdrianPepper to forget to run sponsor_resources proper.

Conceptually, accounts-client could check that the files under /software/accounts-master/data/resources are newer than the most recent file under /software/accounts-master/data/sponsors.

-- AdrianPepper - 18 Mar 2011

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2011-03-18 - AdrianPepper
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback