~mvo/snapd/+git/snapd-mvo:user-agent

Last commit made on 2019-05-29
Get this branch:
git clone -b user-agent https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
user-agent
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

5c068e9... by Michael Vogt

store: adjust WithClientUserAgent() to take a http.Request instead of the user-agent string

4bf0e53... by Michael Vogt

store: move client-user-agent handling into uacontext.go and update signature

6bd9c9c... by Michael Vogt

store: rename Client-User-Agent header to Snap-Client-User-Agent

2950b9c... by Michael Vogt

daemon,store: add ClientUserAgent contxt and use in Find

This changes the code to use a store.ClientUserAgentContext
and pass it around from daemon to the store.

b77f2fe... by Michael Vogt

client: use httputil.UserAgent() to set the default snap user agent

Also add test for user-agent setting in client_test.go

1986e8f... by Michael Vogt

store,daemon,client: allow user-agent setting for Search()

This will take the first "product" from the user-agent that talks
to snapd and adds it as an extra user-agent when talking to the
store. The use-case for this is gnome-software which can set
the agent to "gnome-software" so that the store can gather data
about how many CLI vs GUI users we have.

This initial PR implements it just for "Search" but if this
approach is acceptable it will be added for Install as well.

c314589... by Zygmunt Krynicki

Merge pull request #6794 from zyga/feature/user-mount-ns-20.9-split-8-of-n

cmd/snap-update-ns: remove instanceName argument from applyProfile

6be9d48... by Maciej Borzecki

Merge pull request #6792 from bboozzoo/bboozzoo/gadget-update-position-renames

gadget: embed volume in positioned volume, rename fields

6e82c05... by Michael Vogt

Merge pull request #6782 from mvo5/use-go-buildid

osutil: use go build-id when no gnu build-id is available

fdbba38... by Zygmunt Krynicki

cmd/snap-update-ns: remove instanceName argument from applyProfile

The argument was only used for one debug message. That message
always had the implied snap name context (that in some cases
was also added again by snapd) so showing it again is of little value.

This removes the last duplicated argument from the apply family of
functions.

Signed-off-by: Zygmunt Krynicki <email address hidden>