black-desk
d84b935d65
build: remove unused CMAKE option
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-19 17:28:30 +08:00
black-desk
d59db56dd8
build: update version to 1.4.0
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-19 17:02:11 +08:00
black-desk
7769d9e115
docs: update INSTALL.md
...
no need to add repo any more.
2023-09-18 14:55:28 +08:00
hpdqddsy
654de6520b
refact(builder): unify addOptions() in ll-builder
...
Unify all `addOption()` and `addOptions()` in `ll-builder`.
Signed-off-by: hpdqddsy <hpdqddsy@gmail.com>
2023-09-16 00:35:46 +08:00
black-desk
f0108545cd
fix(repo): set http2=false
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-15 18:59:23 +08:00
black-desk
03b41991ae
fix(scripts): correct command
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-13 18:14:03 +08:00
black-desk
302385a3ff
fix(scripts): ignore error in xargs
...
Related: linuxdeepin/developer-center#5561
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-11 09:48:18 +08:00
black-desk
16c59712f4
feat: add subcommand for all CompressedFile* type
...
continue 92d0e079
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-08 13:31:47 +08:00
black-desk
f5062db9da
refact: make CompressedFile* static
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-08 13:31:41 +08:00
black-desk
ef88f9e87a
refact: move some method to SourceFetcherPrivate
...
1. Move fixSuffix and extractFile from SourceFetcher to
SourceFetcherPrivate;
2. Do not call extractFile in SourceFetcherPrivate::fetchArchiveFile
anymore;
3. Early return in SourceFetcherPrivate::fetchArchiveFile.
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-08 13:31:37 +08:00
black-desk
d290490d22
fix(builder): init qrc
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-08 13:31:18 +08:00
Feng Yu
92d0e079ff
feat: archive fetcher support more suffixs
...
fix linuxdeepin/developer-center#5493
2023-09-07 14:27:53 +08:00
Feng Yu
4ce0ad17fd
feat: archive fetcher support URL redirect
...
fix linuxdeepin/developer-center#5492
2023-09-07 08:06:37 +08:00
black-desk
e7cf35277f
feat: upgrade debian/compat to 12
...
Upgrade debian/compat to 12 to
let dh_installsystemduser auto enable and
start linglong-upgrade.timer and linglong-upgrade.service.
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-06 14:20:09 +08:00
black-desk
995446c82a
format: run clang-format on ll-cli
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-05 15:12:26 +08:00
black-desk
814ea55b17
format: remove extra spaces
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-05 15:11:23 +08:00
hpdqddsy
f712e0655f
refact: unify addOptions()
...
Unify all `addOption()` and `addOptions()` in `ll-cli`.
2023-09-05 15:10:08 +08:00
hpdqddsy
58e227b675
refact: refactor if clause
...
Refactor an if clause. Just a test.
2023-09-05 15:10:08 +08:00
black-desk
e1cf9a32ec
fix: correct CMakeLists
2023-08-29 10:45:08 +08:00
black-desk
80d983ea39
feat: initial implementation of upgrade tool
...
1. add a script upgrade-all;
2. add a systemd user timer linglong-upgrade.timer;
3. add a systemd user service linglong-upgrade.service;
4. split misc/systemd/service to user and system;
5. update debian *.install.
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-28 18:42:35 +08:00
black-desk
67e573141d
fix: correct findLinglongConfigPath
...
Old implementation failed to return "/var/lib/linglong/config.yaml"
when writable==false,
But /var/lib/linglong/config.yaml should have higher priority then
/usr/share/linglong/config.yaml.
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-22 13:19:52 +08:00
black-desk
63cbe3df55
fix(pm): update repo::RepoClient::endpoint
...
This is a workaround, check FIXME comments.
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-22 13:19:51 +08:00
black-desk
5c40d5b9cb
fix(pm): use ConfigInstance in getRepoInfo
...
When we update the config.json in LINGLONG_ROOT
to config.yaml
at commit 6e51c51e95 ,
we breaking the `getRepoInfo` method as that function
read that old json file directly.
Now we fix it by updating that function
to access configuration through `utils::config::ConfigInstance`.
This is just a workaround,
see that FIXME comment for further information.
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-22 13:19:48 +08:00
black-desk
c023e00dd5
fix(cli): correct the default repo name
...
When we update the config.json in LINGLONG_ROOT
to config.yaml
at commit 6e51c51e95 ,
we also update the default local repo name
in default configuration file
to "deepin".
But we didn't update the default value of
command line argument "--name" of
command `ll-cli repo modify`,
which make that command failed
when "--name" argument is not provided.
This commit update the default value of
"--name" to "deepin".
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-17 23:23:12 +08:00
black-desk
6f723c9a38
chore(debian): adjust depends
...
Move linglong-loader to recommends of linglong-builder
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-17 17:29:54 +08:00
black-desk
8dabadf136
chore: update qserializer to 0.3.0
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-17 17:22:54 +08:00
black-desk
cea8f0260b
refact: move linglong::config::Repo into single file
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-17 17:14:11 +08:00
black-desk
749c9b3d8b
refact: move linglong::{,util::}config
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-17 17:14:10 +08:00
black-desk
ccaa09e39c
refact: remove unnecessary namespace
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-17 17:14:09 +08:00
black-desk
c444737deb
refact: remove unused headers
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-17 17:14:08 +08:00
black-desk
156283c315
refact: rename protect marco
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-17 17:14:07 +08:00
black-desk
12d8e8212c
refact: move ConfigInstance into namespace
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-17 17:14:06 +08:00
black-desk
ecd56b1907
chore: update .gitignore
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-17 17:14:03 +08:00
black-desk
aca1688ea2
chore: bump version to 1.4.0 UNRELEASED
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-16 17:25:26 +08:00
black-desk
1f2fa92ecb
chore(debian): adjust depends
...
Move linglong-dbus-proxy from depends of linglong-bin to recommends.
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-16 17:11:27 +08:00
black-desk
4d75739d2d
chore: add generate-coverage.sh
...
1. add tools/generate-coverage.sh to generate test coverage report using
gcovr;
2. update .gitignore to ignore /*build*
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:15 +08:00
black-desk
b74e5abde7
build: move virtual-base to apps/prototype
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:14 +08:00
black-desk
cdcc538fd5
fix: fix debian install file
...
7b7a3291 do not update debian/linglong-bin.install
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:13 +08:00
black-desk
008d8b69d0
refact: move JobManager into linglong::job_manager
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:12 +08:00
black-desk
66760ac084
chore: add licenses for tests
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:11 +08:00
black-desk
db79c61ce1
build: mv system_helper adaptors to linglong/adaptors
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:10 +08:00
black-desk
c9d82e32c9
build: mv job{_manager} adaptors to linglong/adaptors
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:09 +08:00
black-desk
23be7f5f7d
build: mv package_manager adaptor to linglong/adaptors
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:08 +08:00
black-desk
0771d23402
build: mv app_manager adaptor to linglong/adaptors
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:07 +08:00
black-desk
5ec0ebf3fc
build: mv linglong/api/v1/dbus/{interfaces,}
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:06 +08:00
black-desk
4a2e28aedd
build: switch to linglong_add_library
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:05 +08:00
black-desk
689b2cc9ab
build: intorduce linglong_add_library
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:04 +08:00
black-desk
9c603411ec
build: move generated dbus interface codes to api/v1/dbus/interfaces
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:03 +08:00
black-desk
e450e6b671
refact!: add version numbver to dbus interface
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:02 +08:00
black-desk
7eb29efbef
build: move include_directories command into src/dbusgen
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:01 +08:00