bety icon indicating copy to clipboard operation
bety copied to clipboard

projects value constraints: needed cleanup and decisions

Open gsrohde opened this issue 10 years ago • 4 comments

  • [x] Decide if any constraints other than not null constraints are appropriate
  • [x] If so, add.

Comments

outdir should perhaps look like a directory, so some value constraint might be possible.

gsrohde avatar Feb 16 '15 21:02 gsrohde

For now I have:

name, outdir, description or NOT NULL

name is whitespace-normalized (no whitespace other than spaces, no leading or trailing spaces, no double spaces)

gsrohde avatar Mar 16 '15 16:03 gsrohde

Yes, outdir should like a directory On Mon, Mar 16, 2015 at 11:48 AM gsrohde [email protected] wrote:

For now I have:

name, outdir, description or NOT NULL

name is whitespace-normalized (no whitespace other than spaces, no leading or trailing spaces, no double spaces)

— Reply to this email directly or view it on GitHub https://github.com/PecanProject/bety/issues/244#issuecomment-81793953.

dlebauer avatar Mar 18 '15 02:03 dlebauer

@gsrohde is this ready to be implemented?

dlebauer avatar Jul 12 '16 17:07 dlebauer

All constraints except the outdir constraint are live.

To do: Incorporate constraints from miscellaneous_constraints branch into new batch of constraints.

gsrohde avatar Aug 03 '16 19:08 gsrohde