View Bazaar branches
Get this repository:
git clone https://git.launchpad.net/snapcraft

Snapcraft has 8 active reviews.

Branches

Name Last Modified Last Commit
py3.8 2021-03-04 17:21:42 UTC 2 hours ago
snap: migrate to python3.8

Author: Chris Patterson
Author Date: 2021-03-04 14:02:43 UTC

snap: migrate to python3.8

Working within the contraints of the v1 python plugin,
upgrade Snapcraft snap to use python3.8.

- Patch ws4py with patch derived from Debian. Upstream seems
  to have abandoned the project, and support does not exist
  for 3.7.

  See https://github.com/Lawouach/WebSocket-for-Python/pull/261

- Consolidate staging for python into snapcraft-libs, including
  the pip/setuptools/wheel/cryptography python packages. Install
  these packages into dist-packages so they are usable by the
  other python parts.

- Drop snapcraft-override-build.sh in favor of a one-liner in
  snapcraft.yaml (move into snapcraft-libs part).

- Minor tidying.

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

kde-neon-core20 2021-03-04 12:19:41 UTC 7 hours ago
flake8

Author: Sergio Schvezov
Author Date: 2021-03-04 12:19:41 UTC

flake8

master 2021-03-04 10:08:03 UTC 9 hours ago
storeapi: decouple auth and API (#3452)

Author: Sergio Schvezov
Author Date: 2021-03-04 10:08:03 UTC

storeapi: decouple auth and API (#3452)

This changes includes:

- a new Authorization component to generate requests.
- Auth and token discharge logic tied to Authorization class.
- Refresh logic centralized to the request of the Authorization class
  (as it is backend specific).
- Core login primitives simplified in StoreClient and relevant
  delegations to the Authorization class.
- A general simple inheritable requests wrapper for each .*API class
  with an abstractmethod to implement the request logic.

There is one big change in behavior, internally mostly, is that now
all requests to get_account_information are not stored anymore. This
affects a fast whoami call. This will be added back after the new
candid client is introduced.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

fix-manifest-filter 2021-03-03 16:04:20 UTC 2021-03-03
repo: account for arch & version when filtering stage packages

Author: Chris Patterson
Author Date: 2021-03-03 15:33:51 UTC

repo: account for arch & version when filtering stage packages

The filter should only contain package names, not including the
optional [:arch] or [=version] fields.

(1) Move the filter/no-filter logic out of apt_cache and introduce
a _get_filtered_stage_packages() helper in _deb to handle the
processing. Use newly introduced DebPackage to ensure consistency,
and do the same for get_packages_in_base().

(2) Update cross-compile spread test to incorporate the various
grammars.

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

pr-key-asset-utilization 2021-03-02 13:16:35 UTC 2021-03-02
project loader: quote file name in SnapcraftProjectUnusedKeyAssetError

Author: Chris Patterson
Author Date: 2021-03-02 13:15:58 UTC

project loader: quote file name in SnapcraftProjectUnusedKeyAssetError

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

gnome_3_38_stable 2021-01-26 14:46:15 UTC 2021-01-26
Merge branch 'master' into gnome_3_38_stable

Author: Chris Patterson
Author Date: 2021-01-26 14:46:15 UTC

Merge branch 'master' into gnome_3_38_stable

legacy 2021-01-26 13:55:33 UTC 2021-01-26
python plugin: pin pip to supported versions (#3429)

Author: Philip Roche
Author Date: 2021-01-26 13:55:33 UTC

python plugin: pin pip to supported versions (#3429)

pip 21 dropped support for python 3.5 and python 2.

pip >=21 no longer support python3.5 or python 2 and if used will result in a
broken install with pip unable to install packages.

* Drop support for Python 3.5 https://github.com/pypa/pip/issues/9189
* Drop support for Python 2 https://github.com/pypa/pip/issues/6148

bp-apt-arch 2021-01-13 19:05:58 UTC 2021-01-13
Merge branch 'master' into bp-apt-arch

Author: Sergio Schvezov
Author Date: 2021-01-13 19:05:58 UTC

Merge branch 'master' into bp-apt-arch

target-arch-envvar 2021-01-13 17:20:08 UTC 2021-01-13
cli: enable SNAPCRAFT_TARGET_ARCH envvar matching --target-arch

Author: Chris Patterson
Author Date: 2021-01-13 17:14:07 UTC

cli: enable SNAPCRAFT_TARGET_ARCH envvar matching --target-arch

But ensure it is scrubbed from build provider flags so
that it doesn't get passed into target environment.

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

font-common 2020-11-09 15:23:05 UTC 2020-11-09
review updates

Author: Sergio Schvezov
Author Date: 2020-11-09 15:23:05 UTC

review updates

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

bp-unified-setup 2020-09-17 20:15:23 UTC 2020-09-17
build providers: unified provider refactoring for provider setup

Author: Chris Patterson
Author Date: 2020-09-17 19:40:24 UTC

build providers: unified provider refactoring for provider setup

Refactoring for unified approach to checking if a provider is ready, and
performing installation.

- Adds 'is_provider_ready()' interface, replacing 'ensure_provider()'.

- Makes 'setup_provider()' responsible for all user interaction to install
and/or configure the provider, and its depdenencies. Adds 'interactive'
parameter to allow for non-interactive installs, though not currently utilized.

- Refactored LXD checks into their own methods, adding a compatibility check to
check the LXD version is 4.0+, and removing the snap install check in favor of
just ensuring the hardcoded /snap/bin/lx[cd] paths are present.

- Moves setup code out of MultipassCommand into the Multipass provider.

- Update lifecycle CLI to utilize new interfaces. When tty is not connected,
and setup is required, exit with error that that build provider is not
installed or configured.

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

colcon-strip-env 2020-08-26 02:16:21 UTC 2020-08-26
colcon v2 plugin: don't strip env for stage-runtime-dependencies

Author: Chris Patterson
Author Date: 2020-08-25 14:58:31 UTC

colcon v2 plugin: don't strip env for stage-runtime-dependencies

HTTP proxy settings are being lost.

- Remove the `-i` argument to `env`, there are no longer variables
  that must be filtered, allow all of the build-time environment
  variables through. This will include http(s)_proxy once the
  run scripts include it (shipped separately).

- Remove parameters to `stage-runtime-dependencies` which can just
  be picked up from the environment now, after removing `-i` from
  `env`.

- Remove PATH from env list as it no longer needs to be passed
  through explicitly, it is in the run script.

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

spec-pr-typo 2020-08-14 11:31:55 UTC 2020-08-14
specifications: fix typo in package-repositories

Author: Chris Patterson
Author Date: 2020-08-14 11:31:55 UTC

specifications: fix typo in package-repositories

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

fix-ld-regex 2020-08-13 16:02:48 UTC 2020-08-13
spread tests: fix classic patchelf linker regex to match all arches

Author: Chris Patterson
Author Date: 2020-08-13 15:59:02 UTC

spread tests: fix classic patchelf linker regex to match all arches

ppc64el and others may not follow the `ld-linux` convention, e.g.:
/snap/core18/current/lib64/ld64.so.2

Fix by broadening the match to ld.*.

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

no-report-tool-missing 2020-07-20 15:07:42 UTC 2020-07-20
sentry: don't report tool missing errors

Author: Chris Patterson
Author Date: 2020-07-20 15:05:39 UTC

sentry: don't report tool missing errors

Spread tests should capture any missing tools from the snap,
should we make that mistake. If the host is missing the tool,
do not offer to report it to sentry.

Fixes SNAPCRAFT-1V7

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

openvino 2020-06-26 02:07:12 UTC 2020-06-26
edge -> stable build snap

Author: Chris Patterson
Author Date: 2020-06-26 02:07:12 UTC

edge -> stable build snap

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

fix-patchelf-mangling 2020-05-11 11:40:47 UTC 2020-05-11
get section by name and check for SHT_NOBITS

Author: Chris Patterson
Author Date: 2020-05-11 11:40:47 UTC

get section by name and check for SHT_NOBITS

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

specifications 2020-03-04 15:22:14 UTC 2020-03-04
initial commit

Author: Sergio Schvezov
Author Date: 2020-03-04 15:22:14 UTC

initial commit

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

rb-snapcraft-channel 2020-02-12 17:35:31 UTC 2020-02-12
remote-build: introduce --launchpad-snapcraft-channel option

Author: Chris Patterson
Author Date: 2020-02-12 17:32:33 UTC

remote-build: introduce --launchpad-snapcraft-channel option

It may be useful to configure Launchpad to use a specific
snapcraft channel. This commit changes the default from "edge"
to "stable", and allows the user to configure it.

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

split-debug 2020-02-05 15:59:54 UTC 2020-02-05
plugin handler: split debug information if --split-debug passed

Author: Chris Patterson
Author Date: 2020-01-10 21:51:42 UTC

plugin handler: split debug information if --split-debug passed

EXPERIMENTAL option to split debug information. Splits debug
information during PRIME step.

Stripped symbols are written to ./debug directory. Note that this
may cause an issue for projects being build in destructive mode that
already have a directory "debug" in the project tree.

Based off of James Henstridge's work available at:
https://github.com/snapcore/snapcraft/pull/2239

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

fix-elf-regression 2020-02-04 21:01:43 UTC 2020-02-04
use a generator for any

Author: Sergio Schvezov
Author Date: 2020-02-04 21:01:43 UTC

use a generator for any

release/3.9 2020-01-26 06:36:41 UTC 2020-01-26
meta: always generate snapcraft-runner to workaround classic (#2889) (#2891)

Author: Sergio Schvezov
Author Date: 2020-01-26 06:36:41 UTC

meta: always generate snapcraft-runner to workaround classic (#2889) (#2891)

Snapcraft previously generated wrappers for most commands. Once
snapcraft became more conserative about generating unnecessary wrappers,
issues began to surface with regard to PATH being set incorrectly
for classic snap apps that did not use shell.

To work around the issue, this commit adds an empty snapcraft-runner to
the command-chain for all apps, where they typically would have none.
Once this issue is resolved in snapd, we can probably remove this
workaround.

Add unit tests for snapcraft-runner generation

Add some additional parameters to the SnapcraftYaml fixture
to make it more configurable.

LP: #1860369

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Co-authored-by: Chris Patterson <cjp256@gmail.com>

122 of 22 results

Other repositories

Name Last Modified
lp:snapcraft 2 hours ago
lp:~kyrofa/snapcraft 2019-02-01
lp:~facundo/snapcraft 2017-10-13
lp:~vila/snapcraft/+git/mirror 2016-05-23
lp:~blr/snapcraft/+git/mirror 2016-04-13
15 of 5 results
You can't create new repositories for Snapcraft.