Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-9191

directory structure "flattened" upon cloning repository

    XMLWordPrintable

Details

    Description

      I have been a very happy user of bitbucket git repositories. Just today I ran into a problem with a private repository for a django project.

      The source tree on my bitbucket page (attaching screenshot) reflects the correct tree for my django project

      #!python
      
      StrucInfo
                   strucinfo
                                models.py
                                views.py
                                tests.py
                                migrations
                                                001_....all my migrations
                   StrucInfo
                                 urls.py
                                 wsgi.py
                                 settings
                                             base.py
                                              locals.py
                   
      

      Once I clone this repository called "strucinfo.git". The entire tree structure is flattened and messed up.

      Upon cloning into my home directory with

      #!python
      
      "git clone https://harijay@bitbucket.org/harijay/strucinfo.git" 
      

      here is what I get

      #!ssh
      
      haris-macbook:strucinfo hari$ tree
      .
      ├── StrucInfo
      │   ├── __init__.py
      │   ├── migrations
      │   │   ├── 0001_initial.py
      │   │   ├── 0002_add_pl_pgsql_for_making_mol_and_trigger.py
      │   │   ├── 0003_auto__add_raw_data__add_nmr_experiment__add_structure__add_crystal__ad.py
      │   │   ├── 0004_auto__add_screen__add_field_xtal_experiment_screen.py
      │   │   ├── 0005_auto__add_structure_report__add_field_structure_user.py
      │   │   ├── 0006_auto__add_unique_compound_cpi__add_unique_compound_gnumber.py
      │   │   ├── 0007_auto__add_field_raw_data_version__add_field_structure_version.py
      │   │   ├── 0008_auto__chg_field_structure_raw_data__chg_field_structure_processing_dir.py
      │   │   ├── 0009_auto__chg_field_raw_data_date_collected__chg_field_raw_data_sca_file__.py
      │   │   ├── 0010_auto__chg_field_compound_gnumber__chg_field_protein_pur_code.py
      │   │   └── __init__.py
      │   ├── models.py
      │   ├── settings
      │   │   ├── __init__.py
      │   │   ├── base.py
      │   │   └── local.py
      │   ├── tests.py
      │   ├── urls.py
      │   ├── views.py
      │   └── wsgi.py
      ├── data_migration_scripts
      │   ├── NoneCgnumber.txt
      │   ├── all_brd9_entered.py
      │   ├── populate_compounds.py
      │   └── walk_path_and_populate_struc_comp.py
      └── manage.py
      
      

      I can make the repository public or allow access briefly to help troubleshoot. I have never had this problem with other django projects on bitbucket before.

      Attachments

        Activity

          People

            6995b9ed1710 evzijst
            b1d8c8d737dc harijay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: