change exec_process to execute_process #3

已合併
SlavekB 6 年之前 將 1 次代碼提交從 issue/2/exec_process 合併至 master

This should bring back xmms in the game.

Xmms is still provided within Slackware and should be in the next release (Slackware-15.0)

This should bring back xmms in the game. Xmms is still provided within Slackware and should be in the next release (Slackware-15.0)
所有者

I'm not sure why the XMMS_CLFAGS and XMMS_LIBS variables are set before calling xmms_config? Why are parameters not entered directly in a call? Setting these variables seems to me unnecessary.

I'm not sure why the `XMMS_CLFAGS` and `XMMS_LIBS` variables are set before calling `xmms_config`? Why are parameters not entered directly in a call? Setting these variables seems to me unnecessary.
發佈者

either through a variable or within ' ', --cflags and --libs have to be enclosed. I get errors otherwise.

It also works like this:

set( HAVE_XMMS 1 )
EXECUTE_PROCESS( COMMAND ${XMMS_CONFIG} '--cflags' OUTPUT_VARIABLE XMMS_INCLUDES )
EXECUTE_PROCESS( COMMAND ${XMMS_CONFIG} '--libs'   OUTPUT_VARIABLE XMMS_LIBS     )

Do you prefer that way?

either through a variable or within ' ', --cflags and --libs have to be enclosed. I get errors otherwise. It also works like this: ``` set( HAVE_XMMS 1 ) EXECUTE_PROCESS( COMMAND ${XMMS_CONFIG} '--cflags' OUTPUT_VARIABLE XMMS_INCLUDES ) EXECUTE_PROCESS( COMMAND ${XMMS_CONFIG} '--libs' OUTPUT_VARIABLE XMMS_LIBS ) ``` Do you prefer that way?
所有者

Yes, I prefer this way without variables. Do you make a change in commit?

Note: Do not be afraid to use ammend on an existing patch and then push using --force

Yes, I prefer this way without variables. Do you make a change in commit? Note: Do not be afraid to use ammend on an existing patch and then push using --force
發佈者

Ok, I'll have a shot at "ammend" and...and pussssh...

Ok, I'll have a shot at "ammend" and...and pussssh...
所有者

git push -f origin HEAD 😉

git push -f origin HEAD :wink:
所有者

if you want to modify your previous commit, do as follow:

  1. create new commit with additional changes

  2. git reset --soft <commit before all your commits>

  3. git commit

This will create a new single commit with all your previous changes.

Then:

git push -f origin HEAD

if you want to modify your previous commit, do as follow: 1) create new commit with additional changes 2) git reset --soft \<commit before all your commits\> 3) git commit This will create a new single commit with all your previous changes. Then: git push -f origin HEAD
發佈者

didn't work.
ok, learning the next thousand git cmd is on my TODO list

didn't work. ok, learning the next thousand git cmd is on my TODO list
所有者

Here are several options:

  1. Make a new commit and then use rebase to squash.
  2. Make new changes, use git add --all and then git commit --amend
  3. Make git reset HEAD~1 and continue as if the previous commit did not exist
Here are several options: 1. Make a new commit and then use rebase to squash. 2. Make new changes, use `git add --all` and then `git commit --amend` 3. Make `git reset HEAD~1` and continue as if the previous commit did not exist
發佈者

I've deleted everything, I'm done for today and that shitty git.

I've deleted everything, I'm done for today and that shitty git.
所有者

Small note: For a branch name, use only the issue number without #. As Gitea tries to parse #number as a reference to issue / pull-request, then using # in the branch name leads to a cyclical link.

Small note: For a branch name, use only the issue number without #. As Gitea tries to parse #number as a reference to issue / pull-request, then using # in the branch name leads to a cyclical link.
SlavekB closed this pull request 6 年之前
所有者

Merged and pushed upstream.

Merged and pushed upstream.
SlavekB 刪除分支 issue/2/exec_process 6 年之前
SlavekB 新增至R14.0.6 release 里程碑 6 年之前
The pull request has been merged as 2a97cbef31.
登入 才能加入這對話。
No reviewers
未選擇里程碑
No Assignees
3 參與者
訊息
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tdenetwork#3
Loading…
尚未有任何內容