tinybird-cli 5.3.1.dev1__py3-none-any.whl → 5.3.1.dev2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tinybird/__cli__.py CHANGED
@@ -4,5 +4,5 @@ __description__ = 'Tinybird Command Line Tool'
4
4
  __url__ = 'https://www.tinybird.co/docs/cli/introduction.html'
5
5
  __author__ = 'Tinybird'
6
6
  __author_email__ = 'support@tinybird.co'
7
- __version__ = '5.3.1.dev1'
8
- __revision__ = '2475fdd'
7
+ __version__ = '5.3.1.dev2'
8
+ __revision__ = 'f8c7535'
tinybird/datafile.py CHANGED
@@ -332,7 +332,7 @@ class CLIGitRelease:
332
332
  return self.head().commit.hexsha
333
333
 
334
334
  def is_main_branch(self) -> bool:
335
- return self.repo.active_branch.name in ["main", "master"]
335
+ return self.repo.active_branch.name in ["main", "master", "develop"]
336
336
 
337
337
  def is_head_empty(self) -> bool:
338
338
  return not self.repo.head.is_valid()
@@ -333,7 +333,9 @@ class FeedbackManager:
333
333
  error_no_git_repo_for_init = error_message(
334
334
  "'{repo_path}' does not appear to be a git repository. Hint: you can create it with 'git init'"
335
335
  )
336
- error_no_git_main_branch = error_message("Please make sure you run `tb init --git` over your main git branch")
336
+ error_no_git_main_branch = error_message(
337
+ "Please make sure you run `tb init --git` over your main git branch, supported main branch names are: main, master, develop"
338
+ )
337
339
  error_dottinyb_not_ignored = error_message(
338
340
  "Include '.tinyb' in .gitignore. Otherwise you could expose tokens. Hint: 'echo \".tinyb\" >> {git_working_dir}.gitignore'"
339
341
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinybird-cli
3
- Version: 5.3.1.dev1
3
+ Version: 5.3.1.dev2
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/cli/introduction.html
6
6
  Author: Tinybird
@@ -51,6 +51,10 @@ The Tinybird command-line tool allows you to use all the Tinybird functionality
51
51
  Changelog
52
52
  ----------
53
53
 
54
+ 5.3.1.dev2
55
+ **********
56
+
57
+ - `Changed` `tb init --git` now supports run from a `develop` branch in git
54
58
 
55
59
  5.3.0
56
60
  **********
@@ -1,12 +1,12 @@
1
- tinybird/__cli__.py,sha256=VUjYaSos7IyGk0Is52r3xnwEpsGQulfcyVU2sBYgYqY,254
1
+ tinybird/__cli__.py,sha256=XDOXf5MH_ukq_kT0dd5KQwBXtL_Kz-ypHxSGKTxY4Mo,254
2
2
  tinybird/check_pypi.py,sha256=_4NkharLyR_ELrAdit-ftqIWvOf7jZNPt3i76frlo9g,975
3
3
  tinybird/client.py,sha256=nM9q4FBgnj2jFenEkqmbXrrZIjTBfSS4bmgT5K9Rkwg,48159
4
4
  tinybird/config.py,sha256=E0jDwbFD1zhdijNhtF8fg6mqIyKbZ8xpNPP_3n2PFpE,2003
5
5
  tinybird/connectors.py,sha256=lkpVSUmSuViEZBa4QjTK7YmPHUop0a5UFoTrSmlVq6k,15244
6
6
  tinybird/context.py,sha256=3KwB9TL-nON6qX9Mm5uev4CkrgLwYyNDvdFfQmNc0Cc,1171
7
- tinybird/datafile.py,sha256=jhOM3fOHt23Q6dqdxtqHWATU-yxdqan0l6QrQDcSs7w,217002
7
+ tinybird/datafile.py,sha256=5WSqutKIsG5vrNbKLpZZ_2unLqP3UbqiiyekHx7Ed4M,217013
8
8
  tinybird/datatypes.py,sha256=wwXaEy3l_UyfsH9xzYqBENQR7MSrFnDSvgS_CzLucOQ,10462
9
- tinybird/feedback_manager.py,sha256=I32HzI1IRdeGsJPcltYUO4xZ8dV5wGFEhPZGdcWEzBc,64629
9
+ tinybird/feedback_manager.py,sha256=SW2O2OYM9rDQSJU8leVmF7rWO6bN31viZ4tIvTBzyuk,64699
10
10
  tinybird/git_settings.py,sha256=vu8sWb3TAXeM8Tqy27aR0el8MnPm7kqQzTRV76xB0ro,4707
11
11
  tinybird/sql.py,sha256=hUnpfmkRkdyZV2ylIYflzxnwyv5Es7fLEv6cBc39OJA,41589
12
12
  tinybird/sql_template.py,sha256=aLJ2iXvsKKwX_WknjrDdSDy6lXqrtc70XSK4xOyzgQU,86817
@@ -36,8 +36,8 @@ tinybird/tb_cli_modules/workspace.py,sha256=TfKqSQuIk5JhG7Za4Z6e2uTwy4NhWPXLgZN2
36
36
  tinybird/tb_cli_modules/workspace_members.py,sha256=0nkaQJJdR_6rLnTeoK0eBkiDFnm4v7Z2oFGovY-jYMY,8446
37
37
  tinybird/tb_cli_modules/tinyunit/tinyunit.py,sha256=0dYYmZMMJVubxSPls2e_a-fqtUYvgLfu2B0xwLfkbHw,11667
38
38
  tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py,sha256=j92za8QbXrv4eIPjKBZPn9ghR-nYQ2wZZ88MeXyMWXE,1868
39
- tinybird_cli-5.3.1.dev1.dist-info/METADATA,sha256=mR0RSHfRXy6_Jl3FtVcWPNzmiu1fcvrMhZ3qEXQehF0,74302
40
- tinybird_cli-5.3.1.dev1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
- tinybird_cli-5.3.1.dev1.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
- tinybird_cli-5.3.1.dev1.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
- tinybird_cli-5.3.1.dev1.dist-info/RECORD,,
39
+ tinybird_cli-5.3.1.dev2.dist-info/METADATA,sha256=PF7HVOutMfX7e-N0BhgV5A7_-WP4Odr0uXkqN6ACrVs,74401
40
+ tinybird_cli-5.3.1.dev2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
+ tinybird_cli-5.3.1.dev2.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
+ tinybird_cli-5.3.1.dev2.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
+ tinybird_cli-5.3.1.dev2.dist-info/RECORD,,