summaryrefslogtreecommitdiff
path: root/ick2/trans.py
AgeCommit message (Collapse)AuthorFilesLines
2019-10-18Revert "Change: get and use tokens"Lars Wirzenius1-21/+19
This reverts commit 4dd2e14cd15ad2840cfc3636251802f8eb0bc9ba.
2019-10-18Revert "Change: in transactions, create or update resource"Lars Wirzenius1-8/+2
This reverts commit 2497a85899522e970ba182e8b3ef3c3a1b27bbbb.
2019-10-18Revert "Change: refer to resource by name, not id"Lars Wirzenius1-20/+20
This reverts commit 03a559309b8790f6bc3ad3d92300a4c172910abb.
2019-10-18Revert "Drop: TransactionalStore.get_resource_names (unused)"Lars Wirzenius1-0/+3
This reverts commit a40f2829d97a5c139c0d83a454b5cbeb5426ba27.
2019-10-18Revert "Drop: TransactionalState.has_resource (bad, racy)"Lars Wirzenius1-4/+3
This reverts commit 2cdb28a8350478a5d92607be8c95d5e5d43f4dfc.
2019-10-18Revert "Drop: use of old persistent state classes"Lars Wirzenius1-75/+23
This reverts commit 8344a860d226d8a5172bcb2e9de5946717a950ca.
2019-08-03Drop: use of old persistent state classesLars Wirzenius1-23/+75
2019-08-03Drop: TransactionalState.has_resource (bad, racy)Lars Wirzenius1-3/+4
2019-08-03Drop: TransactionalStore.get_resource_names (unused)Lars Wirzenius1-3/+0
2019-08-03Change: refer to resource by name, not idLars Wirzenius1-20/+20
2019-08-03Change: in transactions, create or update resourceLars Wirzenius1-2/+8
2019-08-03Change: get and use tokensLars Wirzenius1-19/+21
2019-07-25Drop: unused PersistentState.get_resource_kinds methodLars Wirzenius1-4/+1
2018-07-09Change: give NotMuch its optional args everywhereLars Wirzenius1-1/+1
2018-07-09Change: if triggered project doesn't exist, raise NotFoundLars Wirzenius1-0/+2
2018-05-17Change: how controller stores persistent dataLars Wirzenius1-0/+76
Replace old State class with new FilePersistentState and TransactionalState classes. Use new Resource class instead of raw dicts. Use context managers for creating, updating resources, to avoid mistakes from accidentally not saving changes. Overall persistence should now be rather simpler. This should open up a possibility for changing the controller to insert more actions into the build graph, to trigger notifcations via the workers.