`apx stacks export` doesnt take effect

Open Beginner friendly
#509 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
go
Domain
cli

Research direction

Start at the apx stacks export command entry point and reproduce the reported commands with the dev stack and both file and directory output paths. Trace where the export destination is handled; done means the command creates the requested exported stack file and reports a path that exists.

Written by the indexing model from the issue text.

Description

I want to export a stack to a file, in order to edit and tweak for future usage.

lie@apx-vso-native:~$ apx stacks export --help
Usage: export [flags]

Export the specified stack.

Flags:
  -n, --name         The name of the stack to export.
  -o, --output       The path to export the stack to.
lie@apx-vso-native:~$ apx stacks show  dev
┌─────────────────┬───────────────┐
│  Property       │  Value        │
├─────────────────┼───────────────┤
│ Name            │ dev           │
│ Base            │ ubuntu:latest │
│ Packages        │ texlive-full  │
│ Package manager │ apt           │
└─────────────────┴───────────────┘
lie@apx-vso-native:~$ apx stacks export -n dev -o /home/lie/dev.yaml
INF > Exported stack 'dev' to '/home/lie/dev.yaml'.
lie@apx-vso-native:~$ apx stacks export -n dev -o .
INF > Exported stack 'dev' to '.'.

apx say the export was finished, but the file doesn't occur.

lie@apx-vso-native:~$ flatpak info org.vanillaos.ApxGUI

Apx GUI - Portable, reproducible development environments

 标识: org.vanillaos.ApxGUI
 引用: app/org.vanillaos.ApxGUI/x86_64/stable
 架构: x86_64
 分支: stable
 版本: 1.1.0
   许可证: GPL-3.0-or-later
 来源: flathub
 集合: org.flathub.Stable
 安装: user
     安装大小: 16.3 MB
   运行时: org.gnome.Platform/x86_64/50
SDK: org.gnome.Sdk/x86_64/50

 提交: b26a22f15c77b1090e647a39a60c2ac7f9b8e655ad84592887d5331aa88a1188
 上级: 0dfcf9ce7642226a5c588dfc46e4931ff22d36a44de1803edf2779440c453be7
 主题: Merge pull request #29 from flathub/update-master-5be9a4e (1741ffa48714)
 日期: 2026-09-11 09:24:37 +0000
Dominant language
Go
Stars
589
Forks
50
Avg merge
8h 3m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Vanilla-OS/apx

All issues in Vanilla-OS/apx

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.