awgit 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
awgit/sync.py ADDED
@@ -0,0 +1,180 @@
1
+ """Differential sync — the op-log + body store as the mesh teleport unit.
2
+
3
+ The semantic twin of git's push/pull for the AitherNet mesh: instead of copying
4
+ whole trees, nodes exchange the DIFFERENTIAL — ops (what changed, in order) +
5
+ bodies (the content, content-addressed + deduped).
6
+
7
+ - ``export_delta(known_op_ids)`` — the ops a peer is missing + the bodies
8
+ they reference. Empty known set = a full initial clone; a caught-up peer
9
+ gets a tiny delta.
10
+ - ``import_delta(bundle)`` — apply idempotently (ops keyed by op_id/git_sha,
11
+ bodies by content address) and advance the applied set.
12
+ - ``sync_state`` / ``sync_status`` — what a node has, persisted in sync.json.
13
+
14
+ TRANSPORT (the Homa connection): the bundle is a portable JSON artifact — any
15
+ AitherNet endpoint carries it over the mesh overlay. **Homa (AF_HOMA) is the
16
+ critical fabric-phase transport** for the incast-heavy pattern this sync
17
+ produces: many nodes pulling MISSING bodies by content address from the few
18
+ holding them is exactly Homa's many-to-one incast. Tunnel legs (public
19
+ internet) fall back to TCP/HTTPS and must log loudly. ``--meta-only`` emits
20
+ ops WITHOUT bodies so a node learns the state shape and pulls bodies
21
+ on-demand by sha — the pull-by-sha pattern that keeps deltas tiny and Homa
22
+ efficient. Kernel module PlatformLab/HomaModule, NOT the userspace DPDK repo.
23
+ """
24
+
25
+ from __future__ import annotations
26
+
27
+ import base64
28
+ import json
29
+ import os
30
+ from pathlib import Path
31
+ from typing import Dict, Optional, Set
32
+
33
+ from awgit.bodies import BodyStore
34
+ from awgit.data_root import vcs_data_root
35
+ from awgit.oplog import OpLog
36
+ from awgit.schema import EditOp
37
+
38
+ _SYNC_SCHEMA = "awgit-sync-v1"
39
+
40
+
41
+ def _state_path(data_root: Path) -> Path:
42
+ return data_root / "sync.json"
43
+
44
+
45
+ def sync_state(data_root: Optional[Path] = None) -> Dict[str, object]:
46
+ """The node's applied op-ids (persisted)."""
47
+ data = data_root or vcs_data_root()
48
+ path = _state_path(data)
49
+ if not path.exists():
50
+ return {"applied_op_ids": []}
51
+ try:
52
+ rec = json.loads(path.read_text(encoding="utf-8"))
53
+ return {"applied_op_ids": list(rec.get("applied_op_ids", []))}
54
+ except (OSError, ValueError):
55
+ return {"applied_op_ids": []}
56
+
57
+
58
+ def _save_state(data_root: Path, op_ids: Set[str]) -> None:
59
+ data_root.mkdir(parents=True, exist_ok=True)
60
+ tmp = _state_path(data_root).with_suffix(".tmp")
61
+ tmp.write_text(
62
+ json.dumps({"applied_op_ids": sorted(op_ids)}), encoding="utf-8"
63
+ )
64
+ os.replace(tmp, _state_path(data_root))
65
+
66
+
67
+ def mark_op_applied(op_id: str, data_root: Optional[Path] = None) -> None:
68
+ """Record an op as applied — self-captured or imported. Idempotent."""
69
+ data = data_root or vcs_data_root()
70
+ applied = set(sync_state(data)["applied_op_ids"])
71
+ if op_id in applied:
72
+ return
73
+ applied.add(op_id)
74
+ _save_state(data, applied)
75
+
76
+
77
+ def sync_status(data_root: Optional[Path] = None) -> Dict[str, object]:
78
+ """What this node has vs what it has applied (the sync health)."""
79
+ data = data_root or vcs_data_root()
80
+ ops = OpLog(data_root=data).all_ops()
81
+ bodies = BodyStore(data_root=data).stats()
82
+ applied = set(sync_state(data)["applied_op_ids"])
83
+ missing = [o.op_id for o in ops if o.op_id not in applied]
84
+ return {
85
+ "ops": len(ops),
86
+ "applied": len(applied),
87
+ "missing": len(missing),
88
+ "bodies": bodies["blobs"],
89
+ "bytes": bodies["bytes"],
90
+ }
91
+
92
+
93
+ def export_delta(
94
+ known_op_ids: Set[str],
95
+ *,
96
+ data_root: Optional[Path] = None,
97
+ include_bodies: bool = True,
98
+ ) -> Dict[str, object]:
99
+ """The ops a peer is missing + the bodies they reference (the differential).
100
+
101
+ ``known_op_ids`` is the peer's applied set (from its ``sync_state``); empty
102
+ = a full initial clone. Ops are linearized parent-first so an import
103
+ preserves causality. Bodies are content-addressed and deduped — a body the
104
+ peer already hosts is not re-sent. ``include_bodies=False`` emits ops only
105
+ (the state shape) so the peer can pull bodies on-demand by sha.
106
+ """
107
+ data = data_root or vcs_data_root()
108
+ log = OpLog(data_root=data)
109
+ all_ops = log.all_ops()
110
+ new_ops = [o for o in all_ops if o.op_id not in known_op_ids]
111
+ ordered = log.linearize([o.op_id for o in new_ops]) if new_ops else []
112
+ ops_out = [op.to_dict() for op in ordered] # linearize returns EditOp objects
113
+
114
+ bodies: Dict[str, str] = {}
115
+ if include_bodies and new_ops:
116
+ store = BodyStore(data_root=data)
117
+ referenced: Set[str] = set()
118
+ for op in new_ops:
119
+ for nc in op.node_changes:
120
+ for s in (nc.old_body_sha, nc.new_body_sha):
121
+ if s:
122
+ referenced.add(s)
123
+ for sha in referenced:
124
+ body = store.get(sha)
125
+ if body is not None:
126
+ bodies[sha] = base64.b64encode(body).decode("ascii")
127
+ return {
128
+ "schema": _SYNC_SCHEMA,
129
+ "op_count": len(ops_out),
130
+ "body_count": len(bodies),
131
+ "ops": ops_out,
132
+ "bodies": bodies,
133
+ "ledger_refs": [o.ledger_ref for o in new_ops if o.ledger_ref],
134
+ }
135
+
136
+
137
+ def import_delta(
138
+ bundle: Dict[str, object], *, data_root: Optional[Path] = None
139
+ ) -> Dict[str, object]:
140
+ """Apply a delta bundle idempotently and advance the applied set.
141
+
142
+ Idempotent: ops already applied (or whose commit is already present) are
143
+ skipped, and bodies are content-addressed so re-putting is a no-op. A
144
+ bundle applied twice converges to the same state — the "git pull/merge"
145
+ semantics with no conflicts.
146
+ """
147
+ data = data_root or vcs_data_root()
148
+ log = OpLog(data_root=data)
149
+ store = BodyStore(data_root=data)
150
+ applied = set(sync_state(data)["applied_op_ids"])
151
+
152
+ imported_ops = 0
153
+ skipped = 0
154
+ # materialize bodies first (idempotent by content address)
155
+ for sha, b64 in bundle.get("bodies", {}).items():
156
+ store.put(base64.b64decode(b64))
157
+
158
+ for op_dict in bundle.get("ops", []):
159
+ try:
160
+ op = EditOp.from_dict(op_dict)
161
+ except (ValueError, KeyError):
162
+ skipped += 1
163
+ continue
164
+ if op.op_id in applied:
165
+ skipped += 1
166
+ continue
167
+ if op.git_sha and log.has_commit(op.git_sha):
168
+ skipped += 1
169
+ applied.add(op.op_id) # already here via another path
170
+ continue
171
+ log.append(op)
172
+ applied.add(op.op_id)
173
+ imported_ops += 1
174
+ _save_state(data, applied)
175
+ return {
176
+ "imported_ops": imported_ops,
177
+ "skipped": skipped,
178
+ "bodies": len(bundle.get("bodies", {})),
179
+ "applied": len(applied),
180
+ }
@@ -0,0 +1,117 @@
1
+ Metadata-Version: 2.4
2
+ Name: awgit
3
+ Version: 0.1.0
4
+ Summary: Aither World-Graph git — semantic version control on top of git: edit-ops keyed on stable node ids, content-addressed bodies, differential sync.
5
+ License: Apache-2.0
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: httpx>=0.25.0
10
+ Dynamic: license-file
11
+
12
+ # awgit — Aither World-Graph git
13
+
14
+ Git was built for human commit speed. It has no world model — it doesn't know
15
+ what a function is, only which lines moved. At agent scale — a fleet of agents
16
+ committing to one shared tree every few minutes — that becomes the bottleneck.
17
+
18
+ **awgit rides on top of git** (git stays the byte-truth, the transport, the
19
+ history) and adds the layer git was missing: a **world model as the database**,
20
+ **semantic edit-ops as transactions**, **verified identity**, a **ledger**, and
21
+ **differential sync** that teleports deltas instead of copying trees.
22
+
23
+ ## The idea: the world model IS the database
24
+
25
+ Every commit becomes an `EditOp` — which functions/classes/methods changed, the
26
+ old and new bodies by git-blob content address, the actor, the parent chain.
27
+ Ops key on **stable node ids** — a content-independent UUID per `(name, path)`
28
+ that survives renames and moves. The op-log is a **differential index**: only
29
+ what changed, never the snapshot.
30
+
31
+ - **Merge** — at node granularity, not line granularity. Disjoint node sets
32
+ merge clean by construction; shared nodes that genuinely collide escalate to
33
+ a human naming the exact function.
34
+ - **Leases** — heartbeat-renewed TTL. A vanished agent's leases free their
35
+ targets on their own; two agents with leases never collide.
36
+ - **Verified identity** — every op records the actor plus the box's VERIFIED
37
+ GitHub login (via `gh`), resolved automatically and cached. The op-log
38
+ doesn't take anyone's word for who did what.
39
+ - **Attribution** — every op records who changed what under a verified GitHub
40
+ identity, with a deterministic `ledger_ref`; `awgit ledger` is the read-only
41
+ attribution view.
42
+ - **Content-addressed bodies** — op bodies materialize into a deduped store, so
43
+ any op reconstructs any node body **without the original git blobs**. Content
44
+ addressing *is* dedupe: identical bodies across commits, branches and
45
+ worktrees collapse to one blob, and `awgit dedupe` quantifies + reclaims the
46
+ disk duplication.
47
+ - **Differential sync** — `awgit sync export` emits the ops a peer is missing
48
+ (parent-first) plus the bodies they reference; `awgit sync import` applies
49
+ idempotently, so a bundle applied twice converges. A caught-up peer gets a
50
+ tiny delta; a fresh endpoint gets the full clone.
51
+
52
+ ## Install
53
+
54
+ ```bash
55
+ pip install awgit # from PyPI (when published)
56
+ # or from source:
57
+ git clone https://github.com/aitherium/awgit && cd awgit
58
+ pip install -e .
59
+ ```
60
+
61
+ Needs Python 3.10+ and `git`. The post-commit hook needs `gh` on PATH to resolve
62
+ a verified GitHub identity (best-effort — capture never depends on it).
63
+
64
+ ## Set up
65
+
66
+ ```bash
67
+ awgit init # verify the actor: gh auth, resolve the verified GitHub login
68
+ awgit hooks install # chained post-commit capture — preserves your existing hooks
69
+ awgit hooks uninstall # remove the chain, restore the original hooks
70
+ ```
71
+
72
+ Every commit from now on is captured as a semantic edit-op. See:
73
+
74
+ ```bash
75
+ awgit status # op-log status: how many ops, bodies, coverage
76
+ awgit diff <sha> <sha> # node-level diff between two commits
77
+ awgit ledger --sha <sha> # attribution for one commit
78
+ awgit sync export --known <ids> -o delta.json # teleport deltas to a peer
79
+ awgit sync import delta.json # idempotent convergence
80
+ awgit dedupe --scan <trees...> # quantify disk duplication
81
+ awgit dedupe --reclaim <trees...> --apply # hard-link identical files
82
+ ```
83
+
84
+ The durable store lives **outside** the git tree at
85
+ `~/.aither/awgit/data` (override with `VCS_DATA_ROOT`), so the op-log and body
86
+ store never pollute your repository or your clones.
87
+
88
+ ## CLI
89
+
90
+ ```bash
91
+ awgit capture --sha <sha> # capture one commit as an EditOp (hooks do this)
92
+ awgit merge-preview <a> <b> # node-level merge preview of two shas
93
+ awgit merge-conflicts # list escalated conflicts awaiting a human
94
+ awgit lease acquire <targets...> / heartbeat / release / list / sweep
95
+ ```
96
+
97
+ ## Using with Claude Code / an agent
98
+
99
+ Install the hooks, then commit as normal — capture is automatic. After a commit:
100
+
101
+ ```bash
102
+ awgit status # what changed, and who (verified GitHub identity)
103
+ awgit ledger --sha <sha> # attribution: who changed what on this commit
104
+ awgit sync export -o delta.json # hand the delta to a peer node
105
+ ```
106
+
107
+ See the `awgit-claude-code` skill for the full workflow.
108
+
109
+ ## Tests
110
+
111
+ ```bash
112
+ cd awgit && python -m pytest tests/ -q
113
+ ```
114
+
115
+ ## License
116
+
117
+ Apache-2.0. Built by Aitherium — the git that scales to agents.
@@ -0,0 +1,26 @@
1
+ awgit/__init__.py,sha256=_I1bsT7GO1Rnn_IOb4dZQr-7TedxKBZcfzaFCeG7gpU,1618
2
+ awgit/bodies.py,sha256=i9DZyDAl3zYi8hQPCw-DGJJzG4qG5YMX4cZxgsGCqLs,12321
3
+ awgit/bridge.py,sha256=9B32sFJjWpDg0Q94s5piIkErIiDZsfqnUsPkrv_ec0U,4010
4
+ awgit/capture.py,sha256=LFingB0BRs8z0k45obCv7w1-AvEFx3MCYrL3ijTC3Hw,15990
5
+ awgit/cli.py,sha256=pfDfC5L_1vay1Qmiq_dBlK0hIgqxQrW6qZSO4mMV1rU,17350
6
+ awgit/data_root.py,sha256=Zicjxh6jfsz3Hy1EsynDt0dAzFs9ZiqAc_u_UKuyEo0,1154
7
+ awgit/diff.py,sha256=fiVGO_YFg3WCWQRnbt2vWKRFpaBuiow9IF7ggpeeEx0,2587
8
+ awgit/identity.py,sha256=t9ssN4HwKUwa_hmQt6lyklR_spwa44q7vHKFY7Q-psQ,3065
9
+ awgit/leases.py,sha256=amGn5g_K98cGPX31w1s6BelNC1RT_fkJoeZTHEBj1FM,9825
10
+ awgit/ledger.py,sha256=l0nHtpa4VZsb8-Q_kgf1zSjnKyvhM4hI4nEZCfSz2AE,2566
11
+ awgit/mcp.py,sha256=qEAKfGjVyLr5KIO6Z5qnYxDuzddykdZ5zJTsOrgfXVk,3515
12
+ awgit/merge.py,sha256=NRq5T6JlsC-FrZVC82XtgafZh5NiNy90jMGcV4m2GSw,12529
13
+ awgit/nodeid.py,sha256=5CUqfMPof2SlQUk96Qrc_6mHn97gGEjYz2EuXy5z29s,9122
14
+ awgit/oplog.py,sha256=5koRlkx7vXSjFIpagDBqNcvFd4tyAwhGBTTP9V0KATM,8215
15
+ awgit/parser.py,sha256=jSWXPpauduK8g2PeTXttp8sv--wjvuwkyhCKRuyy4WM,6701
16
+ awgit/schema.py,sha256=iMQvGyw46fbB77N_iD0mge8rK_vlQj4Mcb32o-ui_IY,6506
17
+ awgit/sync.py,sha256=uxnoCsCBpgOQmhIlaC2vOowJBd2zMVIQkcOlrARvo2E,6659
18
+ awgit/hooks/chain.sh,sha256=35EFj6dozLz1S-kvLgdV2pBAmKY8SroerAzbapLxvbc,1390
19
+ awgit/hooks/post-commit.d/vcs-capture,sha256=mc6cHbEXN9Fvuz5rRc1yeaq4qmF5LGzzhaLRBFlSoq8,1479
20
+ awgit/hooks/pre-commit.d/vcs-lease-check,sha256=CbHlKzjcP4PH8fGWlJJlyslNVL-8lPxNE-KStfP40QI,425
21
+ awgit-0.1.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
22
+ awgit-0.1.0.dist-info/METADATA,sha256=1u9-5U4fQLcdxOF-Gpw0-D9RTdlicunM8KmP0-e1RS4,4905
23
+ awgit-0.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
24
+ awgit-0.1.0.dist-info/entry_points.txt,sha256=7anhPIjgS-UtOgyTlYNks7Z4TsIoFq5RqFlj57LPc64,41
25
+ awgit-0.1.0.dist-info/top_level.txt,sha256=A8lw4_Ubgp_I0VZAp17BMHhCHapeZ9jTo6YSPc161hE,6
26
+ awgit-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ awgit = awgit.cli:main
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1 @@
1
+ awgit