Где найти предварительно созданные двоичные файлы для подрывной деятельности 1.6 для Ubuntu (или Debian)?

Я думаю, что

 return self.collectionView(collectionView, layout: UICollectionViewLayout(), sizeForItemAt: IndexPath(item: 0, section: 0))

будет рекурсивно вызывать один и тот же метод много раз, что приведет к сбою, вызванному циклом, плюс, если вы реализовали этот метод sizeForItemAt, вам придется возвращать значение для других коллекций также, поскольку if здесь if collectionView != interestsCollectionView может никогда не совпадать с логикой компилятора, так что вы можете сделать

func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
  if collectionView == collectionView1 {
     return CGSize(width:<#w#>,height:<#h#>)
  }
  else if collectionView == collectionView2 {
     return CGSize(width:<#w#>,height:<#h#>)
  }
  else { } // etc
}
9
задан bdonlan 6 May 2009 в 22:09
поделиться

7 ответов

Теперь вы можете найти сертифицированные двоичные файлы здесь: http://www.wandisco.com/subversion/os/downloads?type=ubuntu910

Сценарий настроит для вас репозиторий, поэтому вы сохраните при получении обновлений.

2
ответ дан 4 December 2019 в 06:35
поделиться

You can find a debian package for subversion 1.6 in the experimental repositories from debian at http://packages.debian.org/experimental/subversion.

Having said that you would probably be alright working with version 1.5.4 from the ubuntu repositories, if the svn server you are using isn't running 1.6 you won't be able to use any of the new features in the client anyway.

If I was you I would first try to use the version in the repositories before installing it from a third party as you may find that it does work for you and it will make your life easier when it comes to updating subversion in the long run.

6
ответ дан 4 December 2019 в 06:35
поделиться

You don't need the 1.6 version to work with your Windows working copies. SVN is clever enough to recognise the features provided by clients, and only allow those features through - so your 1.5.4 client can connect to your 1.6 server without any problem; as can your Windows 1.6 client.

The only time you'll have problems here is if you're using 2 clients with a single working copy - ie your Windows and Linux clients both commit and update a single, shared directory. Such an arrangement is a bad idea anyway, you'll have all kinds of problems even without counting EOL differences. If you have such a situation, checkout a new WC, so you have one for Linux and another for Windows.

0
ответ дан 4 December 2019 в 06:35
поделиться

Решено! Вот решение.

Со страницы загрузки CollabNet загрузите двоичные файлы для Red Hat. Затем используйте alien для ее установки, например:

$ sudo apt-get install alien
$ sudo alien CollabNetSubversion-client-1.6.2-1.i386.rpm
$ sudo dpkg -i collabnetsubversion-client_1.6.2-2_i386.deb

Помните, что команда устанавливается в / opt / CollabNet_Subversion / bin / svn, а не в / usr / bin / svn. После этого просто поместите эту строку в свой .bashrc :

export PATH="/opt/CollabNet_Subversion/bin:$PATH"
2
ответ дан 4 December 2019 в 06:35
поделиться

Вот репозиторий APT с бинарными пакетами Subversion 1.6 для Ubuntu 8.04–9.10: https://launchpad.net/~anders-kaseorg/+archive/subversion- 1.6

12
ответ дан 4 December 2019 в 06:35
поделиться

Я решил это с помощью этих репозиториев:

deb http://ppa.launchpad.net/anders-kaseorg/subversion -1.6 / ubuntu intrepid main
deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu intrepid main

10
ответ дан 4 December 2019 в 06:35
поделиться

Добавьте эти две строчки в свой /etc/apt/sources.list:

deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu hardy main 
deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu hardy main

Получите ключ Андерса:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 413576CB

Обновление:

sudo apt-get update

Обновите или установите:

sudo apt-get upgrade
sudo apt-get install subversion

(Через ГВС )

4
ответ дан 4 December 2019 в 06:35
поделиться
Другие вопросы по тегам:

Похожие вопросы: