Comments (4)
Oh interesting. I'm going to play around with this and see what I can come up with. What you said makes complete sense to me; if the TOKEN is specified on the command line it shouldn't be saved to the toml file.
from lab.
Hi @doronbehar . My apologies for not getting to this sooner. I finally found some time to investigate this issue.
I did
LAB_CORE_TOKEN="<secret> lab mr list
and do not see that the lab.toml file is overwritten? Is there some command you executed where the file was written?
from lab.
and do not see that the lab.toml file is overwritten?
Should I understand from #868 that you did find the place where the config is written?
Is there some command you executed where the file was written?
I'm pretty sure it was lab project create
.
from lab.
@doronbehar is there any chance you could try to reproduce using latest lab top-of-tree? I did
cp ~/.config/lab/lab.toml /tmp/lab.toml.hold
# edited ~/.config/lab/lab.toml to remove the token entry
LAB_CORE_TOKEN="<secret>" lab project create
And I do not see that the ~/.config/lab/lab.toml is overwritten? I could be doing it differently than you are.
from lab.
Related Issues (20)
- lab 0.24.0, 0.25.0 failed due to `ls-files` not exist HOT 2
- Increase Issue creation HOT 4
- create command to handle approval rules
- `lab mr create` from local branch HOT 4
- project list --all command option does not return all the projects anymore HOT 1
- lab issue create mr HOT 4
- provide an easy way to check if MR already exists for the current branch
- ci view --follow panics HOT 1
- Suggest to create the remote `origin` by default HOT 1
- support browsing to project file
- support managing "epics"
- Use Authorization Bearer header instead of PAT on demand HOT 2
- Allow generating the config file through CLI params HOT 2
- show label colors in terminal HOT 1
- pipe job output in $EDITOR
- Multiple commands produce an empty output HOT 1
- Create command for retrieving user's SSH and GPG key HOT 1
- List MR supports filtering by source branch
- `lab token create` doesn't work on gitlab.com
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lab.