Skip to content

Commit

Permalink
Get the basics in place
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Aug 30, 2024
1 parent b4f5331 commit 09b2bb0
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 67 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/build/
/venv/
*~
*.bak
34 changes: 15 additions & 19 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
# This Makefile assumes you have a local install of bikeshed. Like any
# other Python tool, you install it with pip:
#
# python3 -m pip install bikeshed && bikeshed update

# It also assumes you have doctoc installed. This is a tool that
# automatically generates Table of Contents for Markdown files. It can
# be installed like any other NPM module:
#
# npm install -g doctoc

.PHONY: all publish clean update-explainer-toc
.PHONY: all venv clean
.SUFFIXES: .bs .html

all: publish update-explainer-toc
all: build/index.html

clean:
rm -rf build *~
-rm -rf build venv

venv-marker := venv/.make
bikeshed := venv/bin/bikeshed
venv: $(venv-marker)

publish: build/index.html
$(venv-marker): Makefile
python3 -m venv venv
@touch $@

update-explainer-toc: README.md Makefile
doctoc $< --title "## Table of Contents" > /dev/null
$(bikeshed): $(venv-marker) Makefile
venv/bin/pip install $(notdir $@)
@touch $@

build/index.html: work-item.bs Makefile
build/index.html: api.bs $(bikeshed)
mkdir -p build
bikeshed --die-on=warning spec $< $@
$(bikeshed) --die-on=warning spec $< $@
33 changes: 33 additions & 0 deletions api.bs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<pre class="metadata">
Title: Privacy-Preserving Attribution: Level 1
Shortname: Attribution
Repository: private-attribution/api
URL: https://private-attribution.github.io/api/
Editor: Martin Thomson, w3cid 68503, Mozilla https://mozilla.org/, [email protected]
Abstract: This specifies a browser API for the measurement of advertising performance. The goal is to produce aggregate statistics about how advertising leads to conversions, without creating a risk to the privacy of individual web users. This API collates information about people from multiple web origins, which could be a significant risk to their privacy. To manage this risk, the information that is gathered is aggregated using an aggregation service that is chosen by websites and trusted to perform aggregation within strict limits. Noise is added to the aggregates produced by this service to provide differential privacy.
Status Text: This specification is a proposal that is intended to be migrated to the W3C standards track. It is not a standard.
Text Macro: LICENSE <a href=http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document>W3C Software and Document License</a>
Complain About: accidental-2119 yes, missing-example-ids yes
Markup Shorthands: markdown yes, css no
Assume Explicit For: yes
Group: patcg
Status: CG-DRAFT
Level: None
</pre>

<section class="non-normative">
<h2 id="intro">Introduction</h2>

<em>This section is non-normative.</em>

Blah blah blah.
</section>

<h2 id="acknowledgements" class="no-num">Acknowledgements</h2>

Many thanks to
Some Body,
Somebody Else,
and
A. Third Person
for their feedback on this proposal.
4 changes: 2 additions & 2 deletions w3c.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"group": 120428,
"contacts": ["hober", "TanviHacks", "erik-anderson", "wseltzer", "weiler"],
"group": 134161,
"contacts": ["seanturner", "aramzs"],
"repo-type": "cg-report"
}
46 changes: 0 additions & 46 deletions work-item.bs

This file was deleted.

0 comments on commit 09b2bb0

Please sign in to comment.