Mailinglist Archive: opensuse-buildservice (216 mails)

< Previous Next >
[opensuse-buildservice] small patch proposal for "build"
  • From: Alexander Kanevskiy <kad@xxxxxxxx>
  • Date: Sat, 13 Mar 2010 15:42:23 +0200
  • Message-id: <436e50dd1003130542o7131b3abn1ea3dd2f186e5d75@xxxxxxxxxxxxxx>
Hi

I'm trying to work with git repositories of build-service on my MacOS
laptop, and noticed that in build package there is a small issue:

mbp:tmp kad$ git clone git://gitorious.org/opensuse/build.git
Initialized empty Git repository in /Users/kanevski/tmp/build/.git/
remote: Counting objects: 1590, done.
remote: Compressing objects: 100% (742/742), done.
remote: Total 1590 (delta 1059), reused 1261 (delta 842)
Receiving objects: 100% (1590/1590), 330.21 KiB, done.
Resolving deltas: 100% (1059/1059), done.
mbp:tmp kad$ cd build/
mbp:build kad$ git st
# On branch master
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: Build/Deb.pm
# deleted: Build/Kiwi.pm
# deleted: Build/Rpm.pm
# deleted: Build/Susetags.pm
# deleted: Build/Zypp.pm
#
no changes added to commit (use "git add" and/or "git commit -a")
mbp:build kad$ git co Build
mbp:build kad$ git st
# On branch master
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: build
#
no changes added to commit (use "git add" and/or "git commit -a")


This is happening because "build" script and "Build" directory is the
same filename on filesystems like MacOS where they have by default
"case insensitive" flag.

To fix that, I'm proposing small fix which consists of:

1. git mv build build.sh
2. modify Makefile to have "build.sh" installed as $(DESTDIR)$(pkglibdir)/build
See diff here:
http://gitorious.org/~kad/opensuse/kad-build/commit/f19a4803e791a11cd01d32caaadb3faf0b1870fb.patch


Any underwater stones which I haven't noticed ?

--
br, Alexander Kanevskiy
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >