Richard Purdie
bb98685a71
bitbake: fetch/init: Add 'HOME' to list of variables exported when runnig fetcher commands
2009-01-19 22:28:49 +00:00
Richard Purdie
3ec9a7de2a
bitbake: Fix wget fetcher to better handle urls with ; followed by parameters in the url
2009-01-06 19:56:02 +00:00
Richard Purdie
ee1f065078
bitbake: Make sure the git remote head viewer preserves the username
2008-12-17 12:07:41 +00:00
Richard Purdie
ffdec425bf
bitbake/bitbake-dev: Sync with upstream
2008-12-06 13:16:13 +00:00
Robert Bragg
c1a12b7d20
Adds username support to the git fetcher, and exports SSH_AGENT_PID + SSH_AUTH_SOCK
...
The SSH_AGENT_PID + SSH_AUTH_SOCK environment variables are needed if you
are using ssh-agent to hold passwords for your ssh keys.
2008-12-03 16:21:45 +00:00
Richard Purdie
610b53fcb9
bitbake: Optionally take username/password options from url parameters
2008-11-05 10:31:40 +00:00
Richard Purdie
510d5d7f4d
bitbake wget.py: Fix problem with empty proxy variables
2008-11-04 21:11:58 +00:00
Richard Purdie
c2ef2d4f5a
bitbake: Improve proxy handling got wget so urls can be excluded from the proxy
2008-11-04 19:13:03 +00:00
Richard Purdie
4c626238e7
base.bbclass: Set GIT_CONFIG correctly
2008-11-04 13:32:35 +00:00
Richard Purdie
b1046ef743
bitbake: Don't export the GIT_PROXY_COMMAND in the fetcher code since it means selective proxying isn't possible
2008-10-31 14:37:24 +00:00
Richard Purdie
0f9a47af1e
bitbake: Fix the wget fetcher so parameter portions of uris are ignored
2008-10-24 14:57:02 +01:00
Richard Purdie
f0b1d561c7
bitbake: Preserve http_proxy and ftp_proxy in fetcher command execution
2008-10-23 13:34:24 +01:00
Richard Purdie
4815f7bc53
bitbake: Remove bogus test code
2008-10-22 22:26:24 +01:00
Richard Purdie
ede20a3245
bitbake: Improve proxy variable handling in fetchers
2008-10-22 22:24:03 +01:00
Richard Purdie
1dc91f00fd
fetch/__init__.py: Add in hooks to make sure osc fetcher is seen
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5402 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 22:15:38 +00:00
Richard Purdie
979f987c44
bitbake cache.py: When SRCREV autorevisioning for a recipe is in use, don't cache the recipe. Based on work from Heikki Paajanen
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5352 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:54:47 +00:00
Richard Purdie
dc98b2c28c
bitbake: Sync with 1.8 branch upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5345 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 20:32:33 +00:00
Joshua Lock
571ddc976b
Fetch implementation for the OpenSuse build service.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5201 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-18 18:03:20 +00:00
Richard Purdie
22e0395343
bitbake hg fetcher: Add fix from Matt Hoosier
...
The Mercurial fetcher right now will fail when used to incrementally
fetch an update to a local clone of a repository already fetched at
some prior revision. The culprit is the sequence:
hg pull -r <rev>
hg update -C <rev>
A subtlety in the way that Mercurial stores its tags (in a normally
version-controlled file called .hgtags) has the side-effect that a
repository fetched at a tag "foo" will not actually contain a
new-enough copy of the .hgtags file to be self-aware of the foo tag's
existence.
The solution is just to get all the changesets in the repository on
incremental upgrades, so that the following "hg update" will be able
to resolve the tag.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5170 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-10 16:25:46 +00:00
Richard Purdie
e1af8defd6
hg fetcher: Apply fixes from Matt Hoosier
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5153 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-07 10:47:54 +00:00
Richard Purdie
5ca566349c
bitbake/utils.py: Add prunedir function to utils collection
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5065 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-18 07:56:04 +00:00
Richard Purdie
63e451ebbb
__init__.py: Error if SRCREV == INVALID
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4919 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-22 09:13:51 +00:00
Ross Burton
8bfb9258cf
Use bb.utils.md5_file isntead of calling md5sum
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4386 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 10:59:24 +00:00
Richard Purdie
acc62fcec3
bitbake: Tweak new URI checkstatus code slightly fixing two corner cases.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4354 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27 12:53:36 +00:00
Richard Purdie
748039c0e1
bitbake: Sync with bitbake 1.8 branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4352 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27 11:22:54 +00:00
Richard Purdie
67d5f0483b
bitbake: Improve fetcher runcmd function so error messages are visable and various variables are exported for the benefit of the git fetcher
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4194 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-08 11:34:15 +00:00
Richard Purdie
be963bf7db
bitbake: Add proxy support to CVS fetcher (patch from Cyril Chemparathy)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4192 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-08 10:24:47 +00:00
Richard Purdie
841b37b626
bitbake: Fix a bug where changed files weren't getting spotted and an invalid cache was being used
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4148 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-28 17:19:49 +00:00
Richard Purdie
ab191d21e2
bitbake: Update to bitbake 1.8 branch head
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3892 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-03 22:01:45 +00:00
Richard Purdie
6ac3680a2d
bitbake: Sync with upstream 1.8 branch for git fetcher and --continue mode fix
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3761 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11 20:33:43 +00:00
Richard Purdie
05c49eaac2
bitbake: Update to 1.8.10 release
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3555 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-20 14:58:00 +00:00
Richard Purdie
079e6825aa
bitbake: sync with upstream stable branch bugfixes and enhancements
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3554 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-20 12:09:31 +00:00
Marcin Juszkiewicz
5891567060
CVS fetcher: added "fullpath" option to get full repository paths inside of
...
checkout archive tarballs. It is very useful when used with "norecurse"
option.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3496 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-16 10:58:57 +00:00
Marcin Juszkiewicz
cc1e39fab2
CVS fetcher: add "norecurse" option to fetch directory from CVS without its
...
subdirs ("cvs co -l" option)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3495 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-16 10:56:57 +00:00
Richard Purdie
b12795d49f
bitbake fetcher: Make invalid url errors clearer
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3262 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-27 22:23:04 +00:00
Richard Purdie
62a3ee38ed
bitbake: Convert fetcher code to using bb.utils locking functions
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3223 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-24 16:49:12 +00:00
Richard Purdie
688eca78c0
bitbake/fetchers: Sync with upstream bitbake
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3191 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-17 22:20:55 +00:00
Richard Purdie
e13102cd66
bitbake: Update SRCREV fetcher code to cope better with multiple SCM packages
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3145 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-13 23:03:21 +00:00
Richard Purdie
d9a71e8814
bitbake: fetcher init - clear data's internal expand cache since the cached SRCREV value will be wrong
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3104 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-08 10:27:16 +00:00
Richard Purdie
4c76399930
bitbake: git.py - Fix weird git checkout issues by using git-fetch, not git-pull since we don't care about the index
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3102 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-08 00:06:34 +00:00
Richard Purdie
e9b7bc6914
bitbake: fetcher updates - Add BB_GENERATE_MIRROR_TARBALLS option to allow disabling tarball creation to speedup git fetches, improve srcrev handling to remove some hacks and remove the need for external workarounds
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3101 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-07 23:49:55 +00:00
Richard Purdie
46b69ea92e
bitbake: Sync bzr fetcher with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2866 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-11 21:42:24 +00:00
Richard Purdie
388c2f80ff
bitbake: Add hg fetcher (from bitbake upstream)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2865 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-11 21:41:34 +00:00
Richard Purdie
eb7cc8a967
bitbake git.py: Always use tag param from URI if specified
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2791 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-26 08:39:57 +00:00
Richard Purdie
899c451a73
bitbake: Sync with 1.8 upstream branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2689 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-05 07:48:15 +00:00
Richard Purdie
e223238b1b
bitbake: Update to latest bitbake-1.8 branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2651 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-02 14:10:08 +00:00
Richard Purdie
d8bfa5c6ef
bitbake: Sync with 1.8.8 release
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2513 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-20 07:48:43 +00:00
Richard Purdie
9a1a624518
git.py: Fix reference to tag
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2503 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-16 11:58:13 +00:00
Richard Purdie
7611768e23
bitbake: Sync with 1.8 head. Adds locking to the fetcher to prevent parallel downloads, fixes key expansion issues and occasional missing dependency graph links
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2502 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-16 09:55:21 +00:00
Richard Purdie
11ce59b501
bitbake fetch/git.py: Don't use master as a tag
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2501 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-16 08:52:43 +00:00