Questions tagged [status]

A status is a summary of the current state of a process, an application, a function or an object, or a response code about the execution of a request or a function (e.g., return code or error code). For status bar, use the tag 'statusbar'. For http-status, use tag 'http-status-codes'

A status is a summary of the current state of a process, an application, a function or an object. It can also be a response code related to the execution of a request or a function, typically a return code, or an error code.

Disambiguation:

  • Do not use for question related status bars, but use instead.
  • For HTTP requests, prefer or the tag http-status-code-xxx where xxx is a numeric response code.

External references:

  • Exit status on Wikipedia for status of a process execution
1447 questions
50
votes
7 answers

How to properly send an HTTP message to the client

I'm working on a RESTful web service in Java. I need a good way to send error messages to the client if something's wrong. According to the Javadoc, HttpServletResponse.setStatus(int status, String message) is deprecated "due to ambiguous meaning…
Adam Crume
  • 15,614
  • 8
  • 46
  • 50
47
votes
2 answers

What are the status tags, like [build | passing]

May be a well known question, but actually I'm asking this, because I'm not familiar with these tags. I've seen similar types of tags in various Github projects, especially in their README.md. My questions are manifold regarding these: What's the…
Mayeenul Islam
  • 4,532
  • 5
  • 49
  • 102
47
votes
1 answer

Vim: Showing an error message from a Vim Script

I am trying to show an error message in a Vim script: function! Foo() " ... endfunction au BufWritePost *.py silent call Foo() The "throw" keyword works, but is probably not the right way to do this. I found references to "echomsg", but this…
knipknap
  • 5,934
  • 7
  • 39
  • 43
43
votes
5 answers

How do I list just the files that would be committed?

Is there any way to get a list of files that will be committed when I type the following? git commit -m "my changes" git status lists too much. I could strip out all the words, but I'd rather not. And I don't want to be told about untracked…
gene
  • 999
  • 1
  • 7
  • 7
42
votes
6 answers

Git: Compare All Local Commits to Remote Repo Version

I'm somewhat new to Git and what I'm trying to do seems like it should be possible. Basically I've been working off of clone of a repo and have made quite a few local commits. Is there a way to see the diff of the 'sum' of all my changes and the…
Ian Dallas
  • 12,451
  • 19
  • 58
  • 82
42
votes
3 answers

How can I get 'git status' to always use short format?

I'd like git status to always use the short format: $ git status --short M file1 M dir/file2 ?? file_untracked3 ?? dir/file_untracked4 There doesn't seem to exist a configuration option for this, and git config --global alias.status "status…
Adam Lindberg
  • 16,447
  • 6
  • 65
  • 85
40
votes
4 answers

.gitlab-ci.yml after_script section: how can I tell whether the task succeeded or failed?

I'm using Gitlab CI, and so have been working on a fairly complex .gitlab-ci.yml file. The file has an after_script section which runs when the main task is complete, or the main task has failed somehow. Problem: I need to do different cleanup based…
Daniel Griscom
  • 1,834
  • 2
  • 26
  • 50
36
votes
8 answers

Untracked files not shown in "git status"

I have a project with the following folder structure: All the project files are in base_fldr folder. Also, I have a few folders inside base_fldr called sub_fldr1 and sub_fldr2. These sub folders also contain some files. If I modify any of the files…
kriver
  • 1,588
  • 3
  • 20
  • 33
35
votes
1 answer

What's the right HTTP status code for a response when I can't perform a DELETE due to a FK constrain?

What would be the right response I should give to the users when they try to DELETE an entity on a datasource sitting behind a rest/odata api, and the operation cannot be performed due to a foreign key constrain? Is it a bad request? A not…
cazala
  • 871
  • 7
  • 7
33
votes
9 answers

Hide the status bar on iPhone on a single view?

I want to show the status bar in my app in all views but one. I have tried modifying the 'status bar is initially hidden' in the plist, i have tried: [[UIApplication sharedApplication] setStatusBarHidden:YES]; That hides the bar but leaves an…
Adam Waite
  • 19,175
  • 22
  • 126
  • 148
32
votes
4 answers

showing a status message in R

I'd like to write a function that presents to the user a status message that shows something like the time, the percent complete, and the current status of a process. I can handle assembling the message, but I'd like to do something other than just…
JD Long
  • 59,675
  • 58
  • 202
  • 294
32
votes
5 answers

Laravel - Where to store statuses (flags)? Model, Class or config folder?

I need to extensively use statuses in mt project. I need them for my users (active, suspended, etc), an entity (active, pending_activation, inactive) and for my subscriptions(active, on_grace_period, not_subscribed, never_subscribed). So far I…
Cristian
  • 2,390
  • 6
  • 27
  • 40
31
votes
3 answers

in zsh, how do I do a conditional on the exit status of a program?

I want to do something like: if [[ git status &> /dev/null ]]; then echo "is a git repo"; else echo "is not a git repo"; fi except I don't know how to check the exit status. How do I fix this?
anon
  • 41,035
  • 53
  • 197
  • 293
24
votes
4 answers

What does process exit status 3 mean?

I've seen the usage of exit status 3 in several python scripts that restart processes. As far as I know the convention is only about 0 and "not 0" on Unix/Linux. Is there a convention defining other values like 3.
deamon
  • 89,107
  • 111
  • 320
  • 448
24
votes
2 answers

Get status of an ongoing docker image pull

How to get status of a running docker pull process? I tried pulling busybox with sudo docker pull busybox . But no status is being displayed. On issuing another pull request after a ctrl+c it says that image is already being pulled by another…
cutteeth
  • 2,148
  • 3
  • 25
  • 45
1
2
3
96 97