change exec_process to execute_process #3

已合并
SlavekB 6 年前 将 1 次代码提交从 issue/2/exec_process 合并至 master
Ghost 评论于 6 年前

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)
SlavekB 评论于 6 年前
所有者

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.
Ghost 评论于 6 年前
发布者

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?
SlavekB 评论于 6 年前
所有者

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
Ghost 评论于 6 年前
发布者

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

Ok, I'll have a shot at "ammend" and...and pussssh...
MicheleC 评论于 6 年前
所有者

git push -f origin HEAD 😉

git push -f origin HEAD :wink:
MicheleC 评论于 6 年前
所有者

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
Ghost 评论于 6 年前
发布者

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
SlavekB 评论于 6 年前
所有者

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
Ghost 评论于 6 年前
发布者

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.
SlavekB 评论于 6 年前
所有者

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.
SlavekB6 年前 关闭此合并请求
SlavekB 评论于 6 年前
所有者

Merged and pushed upstream.

Merged and pushed upstream.
SlavekB6 年前 删除了分支 issue/2/exec_process
SlavekB6 年前 添加了里程碑 R14.0.6 release
该合并请求已作为 2a97cbef31 被合并。
登录 并参与到对话中。
无审核者
未选择里程碑
未指派成员
3 名参与者
通知
到期时间

未设置到期时间。

依赖工单

没有设置依赖项。

参考:TDE/tdenetwork#3
正在加载...
这个人很懒,什么都没留下。